[libvirt] [PATCH v2 00/10] add support for scsi-generic for virtio-scsi

Han Cheng hanc.fnst at cn.fujitsu.com
Mon Apr 1 12:00:52 UTC 2013


This patch series tried to add support for scsi-generic for virtio-scsi.

Changes from v1:

- Mv readonly to virDomainHostdevDef as Osier advises.
- Use scsi adaper definition from storagepool.
- Limit scsi hostdev to add one live guest.
- Create some util function for scsi hostdev.
- Add hotplug support for scsi hostdev.

The v1 could be found at:
https://www.redhat.com/archives/libvir-list/2013-March/msg00073.html

We may do some code refactoring to reduce code in pci/usb/sci hostdev later.

Han Cheng (10):
  conf: Introduce readonly to hostdev and change helper function
  docs/schemas: split storagepool.rng for scsi hostdev
  conf: Introduce scsi hostdev
  qemu: New cap flag for scsi-generic
  utils: util functions for scsi hostdev
  qemu: Build qemu command line for scsi-generic
  qemu: Basic management functions for scsi hostdev
  qemu: cgroup and selinux for scsi hostdev
  qemu: hotplug support for scsi hostdev
  tests: tests for scsi hostdev

 docs/formatdomain.html.in                                      |   37 
 docs/schemas/domaincommon.rng                                  |   35 
 docs/schemas/storagepool.rng                                   |   18 
 docs/schemas/storagepoolcommon.rng                             |   21 
 po/POTFILES.in                                                 |    1 
 src/Makefile.am                                                |    1 
 src/conf/domain_audit.c                                        |   10 
 src/conf/domain_conf.c                                         |  198 ++++
 src/conf/domain_conf.h                                         |   13 
 src/libvirt_private.syms                                       |   24 
 src/qemu/qemu_capabilities.c                                   |   15 
 src/qemu/qemu_capabilities.h                                   |    2 
 src/qemu/qemu_cgroup.c                                         |   67 +
 src/qemu/qemu_cgroup.h                                         |    3 
 src/qemu/qemu_command.c                                        |  133 +++
 src/qemu/qemu_command.h                                        |    6 
 src/qemu/qemu_conf.h                                           |    2 
 src/qemu/qemu_driver.c                                         |    3 
 src/qemu/qemu_hostdev.c                                        |  227 +++++
 src/qemu/qemu_hostdev.h                                        |   10 
 src/qemu/qemu_hotplug.c                                        |  211 ++++-
 src/qemu/qemu_process.c                                        |    3 
 src/security/security_selinux.c                                |   56 +
 src/util/virscsi.c                                             |  399 ++++++++++
 src/util/virscsi.h                                             |   83 ++
 tests/qemuhelpdata/qemu-1.0-device                             |   10 
 tests/qemuhelpdata/qemu-1.1.0-device                           |   10 
 tests/qemuhelpdata/qemu-1.2.0-device                           |    5 
 tests/qemuhelpdata/qemu-kvm-1.2.0-device                       |    5 
 tests/qemuhelptest.c                                           |   19 
 tests/qemuxml2argvdata/qemuxml2argv-hostdev-scsi-boot.args     |   10 
 tests/qemuxml2argvdata/qemuxml2argv-hostdev-scsi-boot.xml      |   34 
 tests/qemuxml2argvdata/qemuxml2argv-hostdev-scsi-readonly.args |   10 
 tests/qemuxml2argvdata/qemuxml2argv-hostdev-scsi-readonly.xml  |   35 
 tests/qemuxml2argvdata/qemuxml2argv-hostdev-scsi.args          |   10 
 tests/qemuxml2argvdata/qemuxml2argv-hostdev-scsi.xml           |   34 
 tests/qemuxml2argvtest.c                                       |   12 
 tests/qemuxml2xmltest.c                                        |    4 
 38 files changed, 1677 insertions(+), 99 deletions(-)




More information about the libvir-list mailing list