mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 06:50:22 +03:00
qemu: blockjob: Remove persistent reservations manager when dropping disk images
Check if the persistent reservations manager daemon is still needed after a disk (sub)-chain was dropped after a blockjob. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
fc5b6ed091
commit
1697323bfe
@ -28,6 +28,7 @@
|
||||
#include "qemu_domain.h"
|
||||
#include "qemu_alias.h"
|
||||
#include "qemu_backup.h"
|
||||
#include "qemu_hotplug.h"
|
||||
|
||||
#include "conf/domain_conf.h"
|
||||
#include "conf/domain_event.h"
|
||||
@ -707,6 +708,8 @@ qemuBlockJobEventProcessConcludedRemoveChain(virQEMUDriver *driver,
|
||||
qemuDomainObjExitMonitor(vm);
|
||||
|
||||
qemuDomainStorageSourceChainAccessRevoke(driver, vm, chain);
|
||||
|
||||
ignore_value(qemuHotplugRemoveManagedPR(vm, asyncJob));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user