Fred A. Kemp
feba2febce
qemu: Support setting the 'removable' flag for USB disks
...
Add an attribute named 'removable' to the 'target' element of disks,
which controls the removable flag. For instance, on a Linux guest it
controls the value of /sys/block/$dev/removable. This option is only
valid for USB disks (i.e. bus='usb'), and its default value is 'off',
which is the same behaviour as before.
To achieve this, 'removable=on' (or 'off') is appended to the '-device
usb-storage' parameter sent to qemu when adding a USB disk via
'-disk'. A capability flag QEMU_CAPS_USB_STORAGE_REMOVABLE was added
to keep track if this option is supported by the qemu version used.
Bug: https://bugzilla.redhat.com/show_bug.cgi?id=922495
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
2013-09-02 14:45:38 +02:00
..
2013-07-18 12:18:24 +01:00
2013-09-02 14:45:38 +02:00
2013-05-03 15:56:15 +01:00
2013-08-09 17:13:02 +01:00
2013-08-16 16:57:09 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-08-23 08:12:26 +02:00
2013-05-17 09:18:14 -06:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-08-09 17:13:02 +01:00
2013-05-03 15:56:15 +01:00
2013-07-01 11:08:58 +08:00
2013-05-13 12:04:42 +01:00
2013-07-09 16:15:29 -06:00
2013-07-01 11:08:58 +08:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-08-12 17:17:03 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 16:58:46 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-16 16:28:53 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-09-02 14:45:38 +02:00
2013-08-14 09:46:22 -04:00
2013-08-15 11:40:50 +02:00
2013-05-03 15:56:15 +01:00
2013-08-20 13:27:44 -04:00
2013-05-03 15:56:15 +01:00
2013-08-20 13:27:44 -04:00
2013-05-03 15:56:15 +01:00
2013-08-09 17:13:02 +01:00
2013-01-18 15:36:38 +01:00
2013-05-03 15:56:15 +01:00
2013-07-09 11:49:20 -06:00
2013-07-09 11:49:20 -06:00
2013-08-12 20:44:41 -06:00
2013-05-03 15:56:15 +01:00
2013-06-25 01:13:16 +02:00
2013-05-03 15:56:15 +01:00
2013-08-23 08:12:26 +02:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2012-07-23 16:07:13 -06:00
2012-07-23 16:07:13 -06:00
2012-07-23 16:07:13 -06:00
2012-07-23 16:07:13 -06:00
2012-07-23 16:07:13 -06:00
2013-03-04 17:36:03 -05:00
2013-03-04 17:36:03 -05:00
2013-08-08 11:59:46 +01:00
2012-06-18 20:10:29 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-08-30 20:45:22 -06:00
2013-07-30 07:07:33 -06:00
2013-08-09 17:13:02 +01:00
2013-09-02 09:47:37 +08:00
2013-08-09 17:13:02 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2012-08-10 10:58:38 +02:00
2012-08-10 10:58:38 +02:00
2013-07-01 11:08:58 +08:00
2013-05-03 16:58:46 +01:00
2013-08-09 17:13:02 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-07 11:19:04 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-07 15:29:37 +01:00