This refactor unifies setup of data for disk hotplug and command line
generation.
This applies on top of
'qemu: Handle managed persisten reservations separately'
as that applies on top of the staging branch for my ACKed refactors
which moved now, you can fetch everything at:
git fetch git://pipo.sk/pipo/libvirt.git disk-hotplug-refactor
Peter Krempa (9):
qemu: hotplug: Remove qemuDomainDelDiskSrcTLSObject
qemu: alias: Rename qemuAliasFromDisk to qemuAliasDiskDriveFromDisk
qemu: Reuse qemuBlockStorageSourceAttachApply in disk hotplug
qemu: hotplug: Extract hotplug of PR into
qemuBlockStorageSourceAttachApply
qemu: hotplug: Extract hotplug of secrets into
qemuBlockStorageSourceAttachApply
qemu: hotplug: Extract hotplug of TLS into
qemuBlockStorageSourceAttachApply
qemu: command: Rename qemuBuildDiskDriveCommandLine
qemu: command: Extract setup of one disk's command line
qemu: command: Refactor disk commandline formatting
src/qemu/qemu_alias.c | 4 +-
src/qemu/qemu_alias.h | 2 +-
src/qemu/qemu_block.c | 58 +++++++++++-
src/qemu/qemu_block.h | 16 ++++
src/qemu/qemu_command.c | 232 +++++++++++++++++++++++++++++-----------------
src/qemu/qemu_command.h | 13 ++-
src/qemu/qemu_driver.c | 18 ++--
src/qemu/qemu_hotplug.c | 121 +++---------------------
src/qemu/qemu_migration.c | 6 +-
src/qemu/qemu_process.c | 2 +-
10 files changed, 257 insertions(+), 215 deletions(-)
--
2.16.2