[libvirt] [PATCHv3 3/3] qemu: Add support for "none" USB controller
Jiri Denemark
jdenemar at redhat.com
Thu Aug 2 09:47:57 UTC 2012
On Mon, Jul 23, 2012 at 14:19:15 +0200, Peter Krempa wrote:
> 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.
> ---
> Diff to v2:
> - tests squashed in directly
> ---
> src/qemu/qemu_command.c | 7 ++++++
> src/qemu/qemu_driver.c | 6 +++++
> .../qemuxml2argvdata/qemuxml2argv-usb-none-hub.xml | 19 ++++++++++++++++++
> .../qemuxml2argv-usb-none-other.xml | 19 ++++++++++++++++++
> .../qemuxml2argv-usb-none-usbtablet.xml | 21 ++++++++++++++++++++
> tests/qemuxml2argvdata/qemuxml2argv-usb-none.args | 5 ++++
> tests/qemuxml2argvdata/qemuxml2argv-usb-none.xml | 16 +++++++++++++++
> tests/qemuxml2argvtest.c | 10 +++++++++
> 8 files changed, 103 insertions(+), 0 deletions(-)
> create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-usb-none-hub.xml
> create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-usb-none-other.xml
> create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-usb-none-usbtablet.xml
> create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-usb-none.args
> create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-usb-none.xml
ACK
Jirka
More information about the libvir-list
mailing list