Refactor some labelling code and then move out the backing chain
labelling from the block copy pivot operation into starting of the job.
Peter Krempa (11):
qemu: domain: Clarify temp variable scope in
qemuDomainDetermineDiskChain
qemu: domain: Allow overriding disk source in
qemuDomainDetermineDiskChain
qemu: cgroup: Change qemu[Setup|Teardown]DiskCgroup to take
virStorageSource
security: Remove security driver internals for disk labelling
qemu: security: Add 'backingChain' flag to
qemuSecurity[Set|Restore]ImageLabel
qemu: security: Replace and remove qemuSecurity[Set|Restore]DiskLabel
security: Remove disk labelling functions and fix callers
qemu: driver: Remove disk source munging in qemuDomainBlockPivot
locking: Use virDomainLockImage[Attach|Detach] instead of *Disk
qemu: hotplug: Refactor qemuHotplugPrepareDiskAccess to work on
virStorageSource
qemu: Label backing chain of user-provided target of blockCopy when
starting the job
src/libvirt_private.syms | 4 --
src/libxl/libxl_driver.c | 14 +++---
src/locking/domain_lock.c | 17 -------
src/locking/domain_lock.h | 8 ----
src/lxc/lxc_controller.c | 3 +-
src/lxc/lxc_driver.c | 4 +-
src/qemu/qemu_blockjob.c | 2 +-
src/qemu/qemu_cgroup.c | 14 +++---
src/qemu/qemu_cgroup.h | 8 ++--
src/qemu/qemu_domain.c | 60 +++++++++++++++---------
src/qemu/qemu_domain.h | 1 +
src/qemu/qemu_driver.c | 53 +++++++++------------
src/qemu/qemu_hotplug.c | 79 +++++++++++++-------------------
src/qemu/qemu_process.c | 26 ++++++++++-
src/qemu/qemu_security.c | 74 +++---------------------------
src/qemu/qemu_security.h | 14 ++----
src/security/security_apparmor.c | 24 ++--------
src/security/security_dac.c | 40 +++++-----------
src/security/security_driver.h | 15 ++----
src/security/security_manager.c | 70 ++++------------------------
src/security/security_manager.h | 12 ++---
src/security/security_nop.c | 25 ++--------
src/security/security_selinux.c | 42 +++++------------
src/security/security_stack.c | 50 +++-----------------
24 files changed, 202 insertions(+), 457 deletions(-)
--
2.20.1