[libvirt] [PATCH v2 0/6]qemu: add usb-bot scsi controller support

Guannan Ren gren at redhat.com
Tue Sep 10 09:26:07 UTC 2013


BZ:https://bugzilla.redhat.com/show_bug.cgi?id=917702

v2: After discussion in BZ, qemu guys hope the usb-bot(+usb-uas) can be
    supported although the absence of its hot-plug feature.
    In this patch, libvirt gives an unsupported error in this case.

v1: https://www.redhat.com/archives/libvir-list/2013-September/msg00020.html

And as the missing of hot-plug feature, the replacement of usb-storage is
not a urgent thing. disk attached to usb-storage supports hot-plug/unplug
already.

Guannan Ren(6)
  qemu: add usb-bot qemu cap flag
  qemu: add usb-bot model scsi controller support
  qemu: add usb-bot support from disks points of view
  qemu: refactor out function to build scsi device qemu commandline
  qemu: no hot-plug/unplug support currently for usb-bot
  tests: add xml2argv test for usb-bot scsi controller

 docs/formatdomain.html.in                                 |   4 ++--
 docs/schemas/domaincommon.rng                             |   1 +
 src/conf/domain_conf.c                                    | 115 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
 src/conf/domain_conf.h                                    |   5 +++++
 src/libvirt_private.syms                                  |   1 +
 src/qemu/qemu_capabilities.c                              |   2 ++
 src/qemu/qemu_capabilities.h                              |   1 +
 src/qemu/qemu_command.c                                   | 124 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------
 src/qemu/qemu_hotplug.c                                   |  14 ++++++++++++++
 src/vmx/vmx.c                                             |   3 ++-
 tests/qemuxml2argvdata/qemuxml2argv-disk-scsi-usbbot.args |  11 +++++++++++
 tests/qemuxml2argvdata/qemuxml2argv-disk-scsi-usbbot.xml  |  33 +++++++++++++++++++++++++++++++++
 tests/qemuxml2argvtest.c                                  |   3 +++
 13 files changed, 259 insertions(+), 58 deletions(-)




More information about the libvir-list mailing list