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:
Pavel Hrdina 2017-08-07 14:41:43 +02:00
parent 771002669b
commit 231c710460

View File

@ -15325,7 +15325,7 @@ qemuDomainRevertToSnapshot(virDomainSnapshotPtr snapshot,
virNWFilterReadLockFilterUpdates();
if (!(vm = qemuDomObjFromSnapshot(snapshot)))
return -1;
goto cleanup;
cfg = virQEMUDriverGetConfig(driver);