]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Modify USB port to be defined as a port path
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 2 Sep 2011 14:31:26 +0000 (22:31 +0800)
committerDaniel Veillard <veillard@redhat.com>
Fri, 2 Sep 2011 15:39:03 +0000 (23:39 +0800)
commit31710a5389424db6429a45a33458023e8aaa17f3
treefbdfa51c234f4c79e675b75e6324f8a757cc001d
parentfdabeb3c5f3314d61c71cb2d270671088ef52ee0
Modify USB port to be defined as a port path

So that devices can be attached to hubs. Example, to attach to first
port of a usb-hub on port 1.

      <hub type='usb'>
         <address type='usb' bus='0' port='1'/>
      </hub>

      <input type='mouse' type='usb'>
         <address type='usb' bus='0' port='1.1'/>
      </hub>

also add a test entry
docs/schemas/domain.rng
src/conf/domain_conf.c
src/conf/domain_conf.h
src/qemu/qemu_command.c
tests/qemuxml2argvdata/qemuxml2argv-usb-ports.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-usb-ports.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c