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

[libvirt] [PATCH 0/6 v9] Unprivileged SG_IO support



As a result of RFC [1], this implements the unprivleged SG_IO
support.

1/6 and 2/6 are already acked.

v8 - v9:
   * Just rebasing.

v7 - v8:
   * Change the XML tag name from "cdbfilter" to "sgio",
     and to leave enough room for future values, the values
     of "sgio" are "filtered" and "unfiltered" now.

v6 - v7:
   * No restoring of unpriv_sgio per Daniel's thought.
   * Use "major:minor" as the hash key per Jirka's suggestion.


Osier Yang (6):
  util: Prepare helpers for unpriv_sgio setting
  qemu: Add a hash table for the shared disks
  docs: Add docs and rng schema for new XML tag sgio
  conf: Parse and format the new XML
  qemu: set unpriv_sgio when starting domain and attaching disk
  qemu: Check if the shared disk's cdbfilter conflicts with others

 docs/formatdomain.html.in                          |   14 ++-
 docs/schemas/domaincommon.rng                      |   54 +++++---
 src/conf/domain_conf.c                             |   55 ++++++--
 src/conf/domain_conf.h                             |   10 ++
 src/libvirt_private.syms                           |    4 +
 src/qemu/qemu_conf.c                               |   86 ++++++++++++
 src/qemu/qemu_conf.h                               |   12 ++
 src/qemu/qemu_driver.c                             |   30 ++++
 src/qemu/qemu_process.c                            |   99 ++++++++++++++
 src/qemu/qemu_process.h                            |    4 +
 src/util/virutil.c                                 |  140 ++++++++++++++++++++
 src/util/virutil.h                                 |   13 ++
 ...qemuxml2argv-disk-scsi-lun-passthrough-sgio.xml |   32 +++++
 tests/qemuxml2xmltest.c                            |    1 +
 14 files changed, 522 insertions(+), 32 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-scsi-lun-passthrough-sgio.xml

[1] https://www.redhat.com/archives/libvir-list/2012-November/msg00988.html

Regards,
Osier


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