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-01 14:30:42 +02:00
2013-05-06 14:01:08 -06:00
2013-08-16 15:31:18 -06:00
2013-04-25 13:05:10 +02:00
2013-05-13 17:24:18 +08:00
2013-05-13 13:15:19 +01:00
2013-08-28 08:05:46 +02:00
2013-08-28 08:05:46 +02:00
2013-08-28 08:05:46 +02:00
2013-08-28 08:05:46 +02:00
2013-08-28 08:05:46 +02:00
2013-06-26 14:10:56 -04:00
2013-09-02 14:45:38 +02:00
2013-08-26 16:09:56 +02:00
2013-09-02 14:45:38 +02:00
2013-08-27 17:42:29 +02:00
2013-08-20 10:46:58 -06:00
2013-05-17 08:33:22 +02:00
2013-07-16 12:16:37 +02:00
2013-07-16 12:16:37 +02:00
2013-05-17 08:35:08 +02:00
2013-08-27 12:45:58 +02:00
2013-07-25 13:26:41 +02:00
2013-07-25 13:26:41 +02:00
2013-08-01 17:04:28 -04:00
2013-07-11 14:18:11 -04:00
2013-07-18 12:18:24 +01:00
2013-08-22 11:38:36 +02:00
2013-08-16 15:31:18 -06:00
2013-07-10 11:07:31 +02:00
2013-07-10 17:40:13 +01:00
2013-07-10 17:40:13 +01:00
2013-07-10 11:07:31 +02:00
2013-05-31 10:51:33 -06:00
2013-07-10 11:07:31 +02:00
2013-08-01 17:04:28 -04:00
2013-07-10 11:07:33 +02:00
2013-07-10 11:07:31 +02:00
2013-08-28 08:05:46 +02:00
2013-08-14 09:46:22 -04:00
2013-08-28 08:05:46 +02:00
2013-08-28 08:05:46 +02:00
2013-07-10 11:07:31 +02:00
2013-07-10 17:40:13 +01:00
2013-07-10 11:07:31 +02:00
2013-04-24 10:59:53 +01:00
2013-07-10 17:40:13 +01:00
2013-08-22 13:51:26 -06:00
2013-07-10 11:07:31 +02:00
2013-09-02 14:45:38 +02:00
2013-09-02 13:54:26 +02:00
2013-08-26 16:09:55 +02:00
2013-07-10 17:40:13 +01:00
2013-08-26 16:09:55 +02:00
2013-08-26 16:09:55 +02:00
2013-09-02 14:45:38 +02:00
2013-08-27 17:42:29 +02:00
2013-05-20 20:14:19 +08:00
2013-06-06 17:22:53 +02:00
2013-08-23 15:23:44 -06:00
2013-08-20 10:46:58 -06:00
2013-08-20 10:46:58 -06:00
2013-07-10 11:07:33 +02:00
2013-07-10 11:07:31 +02:00
2013-05-21 09:22:21 -04:00
2013-07-29 13:09:39 -06:00
2013-06-07 15:21:57 +02:00
2013-07-29 13:09:39 -06:00
2013-05-10 08:52:43 -04:00
2013-05-17 08:33:22 +02:00
2013-07-16 12:16:37 +02:00
2013-05-17 08:35:08 +02:00
2013-08-27 12:45:58 +02:00
2013-07-25 13:26:41 +02:00
2013-07-10 11:07:31 +02:00
2013-07-10 11:07:31 +02:00
2013-08-12 10:06:41 -06:00
2013-08-12 10:06:41 -06:00
2013-08-12 10:06:41 -06:00
2013-05-20 20:14:19 +08:00
2013-05-31 11:35:34 -06:00
2013-07-10 17:40:13 +01:00
2013-07-10 17:40:13 +01:00
2013-05-02 16:56:55 +02:00
2013-08-19 15:54:43 +02:00
2013-07-10 11:07:31 +02:00
2013-05-14 15:00:22 +01:00
2013-07-31 19:27:19 +01:00
2013-08-09 08:57:01 -06:00
2013-05-02 16:56:55 +02:00
2013-07-18 14:05:46 +02:00
2013-05-02 16:56:55 +02:00
2013-05-02 16:56:55 +02:00
2013-05-10 13:09:30 -04:00
2013-07-10 11:07:33 +02:00
2013-07-10 17:40:13 +01:00
2013-08-21 13:51:25 +01:00
2013-08-09 11:54:41 +01:00
2013-08-09 11:54:41 +01:00
2013-08-12 20:20:00 -06:00
2013-05-10 13:09:30 -04:00
2013-08-12 18:47:56 +02:00
2013-08-22 15:03:38 +02:00
2013-07-10 11:07:31 +02:00
2013-07-10 17:40:13 +01:00
2013-05-31 10:51:33 -06:00
2013-08-30 14:23:32 +01:00
2013-07-31 19:24:53 +01:00
2013-05-02 16:56:55 +02:00
2013-05-21 23:41:45 +08:00
2013-05-10 11:54:29 +02:00
2013-07-10 11:07:31 +02:00
2013-07-10 11:07:31 +02:00
2013-07-10 11:07:31 +02:00
2013-05-10 11:54:29 +02:00