[PATCH 00/10] To make <transient/> disk sharable for qemu

Masayoshi Mizuma msys.mizuma at gmail.com
Thu Mar 25 00:54:04 UTC 2021


This patch series has two parts; the first part is trying to support
for hotplugging disks with <transient/> option for qemu, and make the
disk shareable when <shareable/> disk option is set as well.

The second part is trying to make shareable the disks with <transient/>
disk option which is described on the domain xml. The second part
is marked as Work In Progress (WIP) because the design may be modified
by the first part changes.

Reference:
- RFC PATCH: https://listman.redhat.com/archives/libvir-list/2021-January/msg01035.html

Masayoshi Mizuma (10):
  qemu_hotplug: Add transient disk hotplug support
  qemu_hotplug: make transient disk sharable
  virsh: Add transient flag for disk hotplug
  tests/qemuhotplugtest: Add qemu caps flags to the argument of DO_TEST
  tests/qemumonitortestutils: Add JobStatusChange to update progress of
    blockdev-create
  tests/qemuhotplugtest: Add transient disk hotplug test
  WIP: qemu_snapshot: Add the guest name to the transient disk path
  WIP: qemu_hotplug: Add asynJob to disk hotplug utilities
  WIP: qemu_hotplug: make transient disk sharable
  WIP: tests/qemuxml2argvdata: Add shareable transient disk test

 src/qemu/qemu_command.c                       |  11 +
 src/qemu/qemu_hotplug.c                       | 262 ++++++++++++++++--
 src/qemu/qemu_hotplug.h                       |   3 +
 src/qemu/qemu_process.c                       |  23 +-
 src/qemu/qemu_process.h                       |   7 +
 src/qemu/qemu_snapshot.c                      |  12 +-
 src/qemu/qemu_validate.c                      |  21 +-
 tests/qemuhotplugtest.c                       | 199 ++++++++-----
 .../qemuhotplug-disk-scsi-transient.xml       |   7 +
 .../qemuhotplug-disk-virtio-transient.xml     |   7 +
 ...lug-transient-live+disk-scsi-transient.xml |  65 +++++
 ...g-transient-live+disk-virtio-transient.xml |  65 +++++
 .../qemuhotplug-transient-live.xml            |  51 ++++
 tests/qemumonitortestutils.c                  |  22 +-
 ...isk-transient-shareable.x86_64-latest.args |  41 +++
 .../disk-transient-shareable.xml              |  26 ++
 tests/qemuxml2argvtest.c                      |   1 +
 tools/virsh-domain.c                          |   8 +
 18 files changed, 738 insertions(+), 93 deletions(-)
 create mode 100644 tests/qemuhotplugtestdevices/qemuhotplug-disk-scsi-transient.xml
 create mode 100644 tests/qemuhotplugtestdevices/qemuhotplug-disk-virtio-transient.xml
 create mode 100644 tests/qemuhotplugtestdomains/qemuhotplug-transient-live+disk-scsi-transient.xml
 create mode 100644 tests/qemuhotplugtestdomains/qemuhotplug-transient-live+disk-virtio-transient.xml
 create mode 100644 tests/qemuhotplugtestdomains/qemuhotplug-transient-live.xml
 create mode 100644 tests/qemuxml2argvdata/disk-transient-shareable.x86_64-latest.args
 create mode 100644 tests/qemuxml2argvdata/disk-transient-shareable.xml

-- 
2.27.0




More information about the libvir-list mailing list