[libvirt] [PATCH 0/6] qemu: track presence of blockjobs in status XML (blockdev-add saga)

Peter Krempa pkrempa at redhat.com
Wed Oct 4 11:59:48 UTC 2017


Add a flag to the status XML to tell that no blockjobs are running, so
that we don't have to reprobe the backing chain on libvirt restart when
no jobs were running.

Later on when we will be able to recover jobs we can improve that even
for running jobs.

Peter Krempa (6):
  qemu: blockjob: Always save status XML after block event
  qemu: blockjob: Always save config XML when a blockjob is finished
  qemu: driver: Save status XML when starting a block job
  tests: qemuxml2xml: Simplify adding to the status XML expect string
    generator
  qemu: domain: Mark if no blockjobs are active in the status XML
  qemu: process: Don't redetect backing chain on reconnect

 src/qemu/qemu_blockjob.c | 16 +++-------
 src/qemu/qemu_domain.c   | 39 +++++++++++++++++++++++
 src/qemu/qemu_domain.h   |  3 ++
 src/qemu/qemu_driver.c   | 32 ++++++++++---------
 src/qemu/qemu_process.c  | 19 +++++++----
 tests/qemuxml2xmltest.c  | 83 +++++++++++++++++++++++++++++++++++++-----------
 6 files changed, 141 insertions(+), 51 deletions(-)

-- 
2.14.1




More information about the libvir-list mailing list