[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [RFC 00/12] add support for new USB2 emulation / EHCI device



Hi,

The following patch intents to implement support for new USB2 and USB
redirection added in QEMU 0.15.

It follows somewhat Daniel's plan send earlier on this ML:
https://www.redhat.com/archives/libvir-list/2011-August/msg00816.html
There are some parts that I don't really know what they should be like:
the "autoassign" or the default values at the domain XML level.

Related RHBZ https://bugzilla.redhat.com/show_bug.cgi?id=725670

cheers

Marc-André Lureau (12):
  Add various USB devices QEMU_CAPS
  Add USB controller models
  Add a new controller type 'usb' with optionnal 'model'
  USB controller can have a PCI address child element
  USB devices gain a new USB address child element
  Add USB companion controllers support
  Add USB hub device
  Modify USB port to be defined as a port path
  RFC: Don't reserve slot 1 if a USB controller is defined there
  RFC: Don't append 0 at usb id, so that it is compatible with legacy
    -usb
  Add a usb1 & usb2 qemuxml2argv test
  Add usb-redir device

 docs/formatdomain.html.in                          |   79 +++++-
 docs/schemas/domain.rng                            |  124 ++++++--
 src/conf/domain_conf.c                             |  333 +++++++++++++++++++-
 src/conf/domain_conf.h                             |   59 ++++
 src/libvirt_private.syms                           |    2 +
 src/qemu/qemu_capabilities.c                       |   34 ++
 src/qemu/qemu_capabilities.h                       |   11 +
 src/qemu/qemu_command.c                            |  262 ++++++++++++++--
 src/qemu/qemu_command.h                            |   10 +-
 src/qemu/qemu_hotplug.c                            |   12 +-
 src/vmx/vmx.c                                      |   12 +-
 tests/qemuhelptest.c                               |   16 +-
 .../qemuxml2argv-input-usbmouse-addr.args          |    1 +
 .../qemuxml2argv-input-usbmouse-addr.xml           |   27 ++
 .../qemuxml2argv-usb-controller.args               |    1 +
 .../qemuxml2argv-usb-controller.xml                |   16 +
 tests/qemuxml2argvdata/qemuxml2argv-usb-hub.args   |    1 +
 tests/qemuxml2argvdata/qemuxml2argv-usb-hub.xml    |   19 ++
 .../qemuxml2argv-usb-ich9-companion.args           |    6 +
 .../qemuxml2argv-usb-ich9-companion.xml            |   30 ++
 .../qemuxml2argv-usb-ich9-ehci-addr.args           |    1 +
 .../qemuxml2argv-usb-ich9-ehci-addr.xml            |   18 +
 .../qemuxml2argv-usb-piix3-controller.args         |    1 +
 .../qemuxml2argv-usb-piix3-controller.xml          |   16 +
 tests/qemuxml2argvdata/qemuxml2argv-usb-ports.args |    1 +
 tests/qemuxml2argvdata/qemuxml2argv-usb-ports.xml  |   31 ++
 tests/qemuxml2argvdata/qemuxml2argv-usb-redir.args |    8 +
 tests/qemuxml2argvdata/qemuxml2argv-usb-redir.xml  |   33 ++
 tests/qemuxml2argvdata/qemuxml2argv-usb1-usb2.args |    1 +
 tests/qemuxml2argvdata/qemuxml2argv-usb1-usb2.xml  |   74 +++++
 tests/qemuxml2argvtest.c                           |   34 ++
 31 files changed, 1196 insertions(+), 77 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-input-usbmouse-addr.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-input-usbmouse-addr.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-usb-controller.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-usb-controller.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-usb-hub.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-usb-hub.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-usb-ich9-companion.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-usb-ich9-companion.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-usb-ich9-ehci-addr.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-usb-ich9-ehci-addr.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-usb-piix3-controller.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-usb-piix3-controller.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-usb-ports.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-usb-ports.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-usb-redir.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-usb-redir.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-usb1-usb2.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-usb1-usb2.xml

-- 
1.7.6


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]