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

[libvirt] [PATCH v4 00/14] Basic implementation of persistent reservations



v4 of:

https://www.redhat.com/archives/libvir-list/2018-March/msg00745.html

diff to v3:
- Peter's review worked in

Michal Privoznik (14):
  virstoragefile: Introduce virStoragePRDef
  qemuDomainDiskChangeSupported: Deny changing reservations
  qemu: Introduce pr-manager-helper capability
  qemu: Generate alias and socket path for pr-helper
  qemu: Store pr runtime data in status XML
  qemu_ns: Allow /dev/mapper/control for PR
  qemu_cgroup: Allow /dev/mapper/control for PR
  qemu: Generate cmd line at startup
  qemu: Introduce pr_helper to qemu.conf
  qemu: Start PR daemon on domain startup
  qemu: Start PR daemon on disk hotplug
  qemu_hotplug: Hotplug of reservations
  qemu_hotplug: Hotunplug of reservations
  qemu: Detect pr-manager-helper capability

 docs/formatdomain.html.in                          |  25 ++-
 docs/schemas/domaincommon.rng                      |  34 +---
 docs/schemas/storagecommon.rng                     |  50 +++++
 m4/virt-driver-qemu.m4                             |   5 +
 src/conf/domain_conf.c                             |  38 ++++
 src/libvirt_private.syms                           |   6 +
 src/qemu/libvirtd_qemu.aug                         |   1 +
 src/qemu/qemu.conf                                 |   4 +
 src/qemu/qemu_alias.c                              |  11 +
 src/qemu/qemu_alias.h                              |   2 +
 src/qemu/qemu_capabilities.c                       |   2 +
 src/qemu/qemu_capabilities.h                       |   1 +
 src/qemu/qemu_cgroup.c                             |  33 ++-
 src/qemu/qemu_command.c                            |  94 +++++++++
 src/qemu/qemu_command.h                            |   3 +
 src/qemu/qemu_conf.c                               |   7 +-
 src/qemu/qemu_conf.h                               |   1 +
 src/qemu/qemu_domain.c                             | 173 +++++++++++++++-
 src/qemu/qemu_domain.h                             |  10 +
 src/qemu/qemu_hotplug.c                            | 130 ++++++++++++
 src/qemu/qemu_process.c                            | 224 +++++++++++++++++++++
 src/qemu/qemu_process.h                            |   5 +
 src/qemu/test_libvirtd_qemu.aug.in                 |   1 +
 src/util/virdevmapper.c                            |   8 +-
 src/util/virstoragefile.c                          | 164 +++++++++++++++
 src/util/virstoragefile.h                          |  18 ++
 tests/qemucapabilitiesdata/caps_2.11.0.s390x.xml   |   1 +
 tests/qemucapabilitiesdata/caps_2.12.0.aarch64.xml |   1 +
 tests/qemucapabilitiesdata/caps_2.12.0.ppc64.xml   |   1 +
 tests/qemucapabilitiesdata/caps_2.12.0.s390x.xml   |   1 +
 tests/qemucapabilitiesdata/caps_2.12.0.x86_64.xml  |   1 +
 .../disk-virtio-scsi-reservations.args             |  35 ++++
 .../disk-virtio-scsi-reservations.xml              |  49 +++++
 tests/qemuxml2argvtest.c                           |   4 +
 .../disk-virtio-scsi-reservations.xml              |   1 +
 tests/qemuxml2xmltest.c                            |   2 +
 36 files changed, 1107 insertions(+), 39 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/disk-virtio-scsi-reservations.args
 create mode 100644 tests/qemuxml2argvdata/disk-virtio-scsi-reservations.xml
 create mode 120000 tests/qemuxml2xmloutdata/disk-virtio-scsi-reservations.xml

-- 
2.16.1


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