[libvirt] [PATCHv3 0/3] Add usb controller model="none"

Peter Krempa pkrempa at redhat.com
Mon Jul 23 12:19:12 UTC 2012


This series adds support for completely disabling USB bus for a host if a user
requires this. For this to work a new USB controller model "none" was added
that removes the USB bus.

This series incorporates fixes for comments of Dan's and Eric's review and
is rebased on top of Dan's error handling cleanup.

Peter Krempa (3):
  domain_conf: Add USB controler model "none"
  domain_conf: Add helpers to verify if device configuration is valid
  qemu: Add support for "none" USB controller

 docs/formatdomain.html.in                          |    6 +-
 docs/schemas/domaincommon.rng                      |    1 +
 src/conf/domain_conf.c                             |  107 +++++++++++++++++++-
 src/conf/domain_conf.h                             |    4 +
 src/libvirt_private.syms                           |    1 +
 src/qemu/qemu_command.c                            |   10 ++-
 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 ++
 13 files changed, 221 insertions(+), 4 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

-- 
1.7.8.6




More information about the libvir-list mailing list