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

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


As a result of RFC [1], this implements the unprivleged SG_IO
support. Though it is a bit rushed, and I still have no chance
to test it yet, but I'd like see an earlier reviewing.

@Paolo, please let me known once you have a kernel build with
the new sysfs knob supported. Thanks!

Osier Yang (6):
  unpriv_sgio: Add docs and rng schema for new XML unpriv_sgio
  unpriv_sgio: Parse and format the new XML
  unpriv_sgio: Prepare helpers for unpriv_sgio setting
  unpriv_sgio: Manage unpriv_sgio in domain's lifecyle
  unpriv_sgio: Do not restore unpriv_sgio if the disk is being used
  unpriv_sgio: Error out if the unpriv_sgio setting conflicts with others

 docs/formatdomain.html.in                          |   10 +-
 docs/schemas/domaincommon.rng                      |   52 ++++--
 src/conf/domain_conf.c                             |  168 ++++++++++++++++++--
 src/conf/domain_conf.h                             |   18 ++
 src/libvirt_private.syms                           |    6 +
 src/qemu/qemu_process.c                            |   54 +++++++
 src/util/util.c                                    |  154 ++++++++++++++++++
 src/util/util.h                                    |    7 +
 ...l2argv-disk-scsi-lun-passthrough-upriv-sgio.xml |   32 ++++
 tests/qemuxml2xmltest.c                            |    1 +
 10 files changed, 472 insertions(+), 30 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-scsi-lun-passthrough-upriv-sgio.xml

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


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