mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-25 14:05:18 +00:00
qemu: fix nwfilter deadlock while reverting to snapshot
Introduced by commit <41127244fb90f08cf5032a5d7553f5f0390d925e>. Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
771002669b
commit
231c710460
@ -15325,7 +15325,7 @@ qemuDomainRevertToSnapshot(virDomainSnapshotPtr snapshot,
|
|||||||
virNWFilterReadLockFilterUpdates();
|
virNWFilterReadLockFilterUpdates();
|
||||||
|
|
||||||
if (!(vm = qemuDomObjFromSnapshot(snapshot)))
|
if (!(vm = qemuDomObjFromSnapshot(snapshot)))
|
||||||
return -1;
|
goto cleanup;
|
||||||
|
|
||||||
cfg = virQEMUDriverGetConfig(driver);
|
cfg = virQEMUDriverGetConfig(driver);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user