[libvirt] [PATCHv2 1/2] qemu: Add capability flag for usb-storage

2013-08-23 Thread Fred A. Kemp
From: Fred A. Kemp ano...@riseup.net Allow use of the usb-storage device only if the new capability flag QEMU_CAPS_DEVICE_USB_STORAGE is set, which it is for qemu(-kvm) versions = 0.12.1.2-rhel62-beta. --- src/qemu/qemu_capabilities.c |2 ++ src/qemu/qemu_capabilities.h |1 + src/qemu

[libvirt] [PATCHv2 0/2] Support setting the 'removable' flag for USB disks

2013-08-23 Thread Fred A. Kemp
From: Fred A. Kemp ano...@riseup.net The commit message of patch #2 explains the purpose of this patch set. A review would be greatly appreciated! Note that I've only added the new capability for usb-storage.removable to the qemu help tests of qemu(-kvm) version 1.2.0, since that's what I had

[libvirt] [PATCH 1/2] qemu: Add capability flag for usb-storage

2013-08-13 Thread Fred A. Kemp
From: Fred A. Kemp ano...@riseup.net Allow use of the usb-storage device only if the new capability flag QEMU_CAPS_DEVICE_USB_STORAGE is set, which it is for qemu(-kvm) versions = 0.12.1.2-rhel62-beta. --- src/qemu/qemu_capabilities.c |2 ++ src/qemu/qemu_capabilities.h |1 + src/qemu

[libvirt] [PATCH 2/2] qemu: Support setting the 'removable' flag for USB disks

2013-08-13 Thread Fred A. Kemp
From: Fred A. Kemp ano...@riseup.net 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

[libvirt] [PATCH 0/2] Support setting the 'removable' flag for USB disks

2013-08-13 Thread Fred A. Kemp
From: Fred A. Kemp ano...@riseup.net The commit message of patch #2 explains the purpose of this patch set. A review would be greatly appreciated! Note that I've only added the new capability for usb-storage.removable to the qemu help tests of qemu(-kvm) version 1.2.0, since that's what I had

[libvirt] [PATCH 1/2] qemu: Add capability flag for usb-storage

2013-07-25 Thread Fred A. Kemp
From: Fred A. Kemp ano...@lavabit.com Allow use of the usb-storage device only if the new capability flag QEMU_CAPS_DEVICE_USB_STORAGE is set, which it is for qemu(-kvm) versions = 0.12.1.2-rhel62-beta. --- src/qemu/qemu_capabilities.c |2 ++ src/qemu/qemu_capabilities.h |1 + src/qemu

[libvirt] [PATCH 0/2] Support settings the 'removable' flag for USB disks

2013-07-25 Thread Fred A. Kemp
From: Fred A. Kemp ano...@lavabit.com The commit message of patch #2 explains the purpose of this patch set. A review would be greatly appreciated! Note that I've only added the new capability for usb-storage.removable to the qemu help tests of qemu(-kvm) version 1.2.0, since that's what I had

[libvirt] [PATCH 2/2] qemu: Support setting the 'removable' flag for USB disks

2013-07-25 Thread Fred A. Kemp
From: Fred A. Kemp ano...@lavabit.com 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

[libvirt] [PATCH 2/2] qemu: Support setting the 'removable' flag for USB disks

2013-05-31 Thread Fred A. Kemp
From: Fred A. Kemp ano...@lavabit.com 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

[libvirt] [PATCH 0/2] Support setting the 'removable' flag for USB disks

2013-05-31 Thread Fred A. Kemp
From: Fred A. Kemp ano...@lavabit.com For reference, my first attempt at a patch for this feature was: 1363682454-32012-1-git-send-email-ano...@lavabit.com I believe this patch fixes all previous concerns raised that thread. However, note that I've only added the new capability for usb

[libvirt] [PATCH 1/2] qemu: Add capability flag for usb-storage

2013-05-31 Thread Fred A. Kemp
From: Fred A. Kemp ano...@lavabit.com Allow use of the usb-storage device only if the new capability flag QEMU_CAPS_DEVICE_USB_STORAGE is set, which it is for qemu(-kvm) versions = 0.12.1.2-rhel62-beta. --- src/qemu/qemu_capabilities.c |2 ++ src/qemu/qemu_capabilities.h |1 + src/qemu