libvirt/tests/qemuhelpdata
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
..
kvm-74
kvm-83-rhel56
kvm-86
qemu-0.9.1
qemu-0.10.5
qemu-0.12.1
qemu-0.12.1-device
qemu-1.0
qemu-1.0-device
qemu-1.1.0
qemu-1.1.0-device
qemu-1.2.0
qemu-1.2.0-device qemu: Support setting the 'removable' flag for USB disks 2013-09-02 14:45:38 +02:00
qemu-kvm-0.10.5
qemu-kvm-0.11.0-rc2
qemu-kvm-0.12.1.2-rhel60
qemu-kvm-0.12.1.2-rhel60-device
qemu-kvm-0.12.1.2-rhel61
qemu-kvm-0.12.1.2-rhel61-device
qemu-kvm-0.12.1.2-rhel62-beta
qemu-kvm-0.12.1.2-rhel62-beta-device
qemu-kvm-0.12.3
qemu-kvm-0.12.3-device
qemu-kvm-0.13.0
qemu-kvm-0.13.0-device
qemu-kvm-1.2.0
qemu-kvm-1.2.0-device qemu: Support setting the 'removable' flag for USB disks 2013-09-02 14:45:38 +02:00