[libvirt] [PATCH 27/34] Convert USB hostdevices over to -device

Daniel Veillard veillard at redhat.com
Fri Jan 15 19:44:42 UTC 2010


On Fri, Jan 08, 2010 at 05:23:23PM +0000, Daniel P. Berrange wrote:
> The old syntax was
> 
>    -usbdevice host:PRODUCT:VENDOR
> 
> Or
> 
>    -usbdevice host:BUS.DEV
> 
> The new syntax is
> 
>    -device usb-host,product=PRODUCT,vendor=VENDOR
> 
> Or
> 
>    -device usb-host,hostbus=BUS,hostaddr=DEV
> ---
>  src/qemu/qemu_conf.c                               |   32 ++++++++++++++-----
>  .../qemuxml2argv-hostdev-usb-address-device.args   |    1 +
>  .../qemuxml2argv-hostdev-usb-address-device.xml    |   27 ++++++++++++++++
>  tests/qemuxml2argvtest.c                           |    1 +
>  4 files changed, 52 insertions(+), 9 deletions(-)
>  create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-hostdev-usb-address-device.args
>  create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-hostdev-usb-address-device.xml

  ACK,

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list