[libvirt] [v3 08/14] Add USB hub device

Daniel Veillard veillard at redhat.com
Fri Sep 2 14:20:22 UTC 2011


On Fri, Sep 02, 2011 at 03:18:18AM +0200, Marc-André Lureau wrote:
> ---
>  docs/formatdomain.html.in                        |   27 ++++
>  docs/schemas/domain.rng                          |   13 ++
>  src/conf/domain_conf.c                           |  157 +++++++++++++++++++++-
>  src/conf/domain_conf.h                           |   20 +++
>  src/libvirt_private.syms                         |    2 +
>  src/qemu/qemu_capabilities.c                     |    3 +
>  src/qemu/qemu_capabilities.h                     |    1 +
>  src/qemu/qemu_command.c                          |   56 ++++++++-
>  src/qemu/qemu_command.h                          |    1 +
>  tests/qemuhelptest.c                             |    9 +-
>  tests/qemuxml2argvdata/qemuxml2argv-usb-hub.args |    1 +
>  tests/qemuxml2argvdata/qemuxml2argv-usb-hub.xml  |   19 +++
>  tests/qemuxml2argvtest.c                         |    3 +
>  13 files changed, 307 insertions(+), 5 deletions(-)
>  create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-usb-hub.args
>  create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-usb-hub.xml
[...]
> +++ b/tests/qemuxml2argvdata/qemuxml2argv-usb-hub.args
> @@ -0,0 +1 @@
> +LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test /usr/bin/qemu -S -M pc -m 214 -smp 1 -nographic -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/tmp/test-monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=readline -no-acpi -boot c -usb -device usb-hub,id=hub0,bus=usb.0,port=1 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4

  Same small problem with bus=usb.0 instead of bus=usb0.0 but easy to fix


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