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

[libvirt] [PATCH 00/10 v3] Unprivileged SG_IO support


As a result of RFC [1], this implements the unprivleged SG_IO
support. Testing is not that enough, but I'd like see the
reviewing earlier, and meanwhile I'm not going to give up
the further testing.

v2 - v3:
  * Change the XML tag name to "cdbfilter"
  * Maintain an internal list of shared disks for QEMU driver.

Patches 1/10 ~ 4/10 are to introduce the internal list for shared

Osier Yang (10):
  qemu: Introduce a list to maintain the shared disks between domains
  qemu: Init/Free the list with the driver's lifecyle
  qemu: Add/remove the shared disk entry during domain's lifecyle
  qemu: Add/Remove the entry of sharedDisks when live
  docs: Add docs and rng schema for new XML cdbfilter
  conf: Parse and format the new XML tag cdbfilter
  util: Prepare helpers for unpriv_sgio setting
  qemu: Manage disk's cdbfilter in domain's lifecycle
  qemu: Do not restore the sysfs unpriv_sgio if the disk is being
  qemu: Error out when domain starting if the cdbfilter setting

 docs/formatdomain.html.in                          |   13 ++-
 docs/schemas/domaincommon.rng                      |   52 +++++--
 src/conf/domain_conf.c                             |   71 +++++++--
 src/conf/domain_conf.h                             |   13 ++
 src/libvirt_private.syms                           |    5 +
 src/qemu/qemu_conf.c                               |  166 ++++++++++++++++++++
 src/qemu/qemu_conf.h                               |   30 ++++
 src/qemu/qemu_driver.c                             |   28 ++++
 src/qemu/qemu_process.c                            |  103 ++++++++++++-
 src/util/util.c                                    |  145 +++++++++++++++++
 src/util/util.h                                    |    7 +
 ...ml2argv-disk-scsi-lun-passthrough-cdbfilter.xml |   32 ++++
 tests/qemuxml2xmltest.c                            |    1 +
 13 files changed, 634 insertions(+), 32 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-scsi-lun-passthrough-cdbfilter.xml


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