]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Add support for "none" USB controller
authorPeter Krempa <pkrempa@redhat.com>
Tue, 3 Jul 2012 13:43:13 +0000 (15:43 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 2 Aug 2012 10:13:48 +0000 (12:13 +0200)
commitfbe871263c7050b59accf10bd3517e4cd5758683
tree29de8d197538197c0ed8dc369de592fe475e69f2
parent317badb213f88da3cf7eb9e65afd55492801d57c
qemu: Add support for "none" USB controller

This patch enables the "none" USB controller for qemu guests and adds
valdiation on hot-plugged devices if the guest has USB disabled.

This patch also adds a set of tests to check parsing of domain XMLs that
use the "none" controller and some forbidden situations concerning it.
src/qemu/qemu_command.c
src/qemu/qemu_driver.c
tests/qemuxml2argvdata/qemuxml2argv-usb-none-hub.xml [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-usb-none-other.xml [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-usb-none-usbtablet.xml [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-usb-none.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-usb-none.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c