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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux