[PATCH 0/3] qemu: sync backing chain update in virDomainGetBlockJobInfo

Nikolay Shirokovskiy posted 3 patches 3 years, 6 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/1603201449-610752-1-git-send-email-nshirokovskiy@virtuozzo.com
src/qemu/qemu_driver.c  | 26 ++++++++++++--------------
src/qemu/qemu_process.c | 28 +++++++++++++++++++---------
2 files changed, 31 insertions(+), 23 deletions(-)
[PATCH 0/3] qemu: sync backing chain update in virDomainGetBlockJobInfo
Posted by Nikolay Shirokovskiy 3 years, 6 months ago
The issue is desciribed in detail in last patch.

I've already tried to address it in [1]. It was not good at all. Actually it
was waiting for event processing in worker thread but that processing blocked
by qemuDomainGetBlockJobInfo itself holding the job.

Now with help of the 1st patch the block job event offloaded to the worker
thread can be processed in qemuDomainGetBlockJobInfo.

[1] [PATCH 1/1] qemu: sync blockjob finishing in qemuDomainGetBlockJobInfo
  https://www.redhat.com/archives/libvir-list/2019-November/msg01366.html

Nikolay Shirokovskiy (3):
  qemu: add option to process offloaded legacy blockjob event ealier
  qemu: update legacy block job sync after offloading changes
  qemu: sync backing chain update in virDomainGetBlockJobInfo

 src/qemu/qemu_driver.c  | 26 ++++++++++++--------------
 src/qemu/qemu_process.c | 28 +++++++++++++++++++---------
 2 files changed, 31 insertions(+), 23 deletions(-)

-- 
1.8.3.1