[libvirt] [PATCH 0/3] Add "rawio" for hostdev

John Ferlan jferlan at redhat.com
Tue Sep 9 23:40:25 UTC 2014


The "rawio" setting for a <device.../> <disk.../> lun isn't duplicated
in the scsi_host hostdev device for a lun.  Rather than "requiring" some
disk in the disk list to add the rawio, add the "rawio" property to
the scsi_host hostdev lun.

John Ferlan (3):
  hostdev: Add "rawio" attribute to _virDomainHostdevSubsysSCSI
  qemu: Process the hostdev "rawio" setting
  domain_conf: Process the "rawio" for a hostdev device

 docs/formatdomain.html.in                          | 12 ++++++--
 docs/schemas/domaincommon.rng                      | 18 +++++++----
 src/conf/domain_conf.c                             | 31 +++++++++++++++++++
 src/conf/domain_conf.h                             |  2 ++
 src/qemu/qemu_domain.c                             | 21 +++++++++++++
 src/qemu/qemu_domain.h                             |  4 +++
 src/qemu/qemu_driver.c                             |  1 +
 src/qemu/qemu_process.c                            | 20 ++++++++++++-
 .../qemuxml2argv-hostdev-scsi-rawio.xml            | 35 ++++++++++++++++++++++
 tests/qemuxml2xmltest.c                            |  1 +
 10 files changed, 135 insertions(+), 10 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-hostdev-scsi-rawio.xml

-- 
1.9.3




More information about the libvir-list mailing list