[libvirt] [PATCH 0/2] qemu: Fix blockjob assignment collision (blockdev-add saga)

Peter Krempa pkrempa at redhat.com
Sat Sep 14 08:43:59 UTC 2019


We leaked a block job object in the tests because two jobs with distinct
names referenced the same disk. Fix the test data and add code to
prevent this issue.

Peter Krempa (2):
  tests: qemustatusxml2xml: Fix disk target mess
  qemu: blockjob: Refuse to register blockjob if disk already has one

 src/qemu/qemu_blockjob.c                           |  6 ++++++
 .../qemustatusxml2xmldata/blockjob-blockdev-in.xml | 14 +++++++-------
 2 files changed, 13 insertions(+), 7 deletions(-)

-- 
2.21.0




More information about the libvir-list mailing list