diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c index 2af17816c6ac4ac993b9eba6dbc6d262dd7136c7..3290c5d490e3ae7e9ed66e61f51b3a8f04c09366 100644 --- a/src/qemu/qemu_domain.c +++ b/src/qemu/qemu_domain.c @@ -8664,7 +8664,8 @@ qemuDomainSnapshotDiscardAllMetadata(virQEMUDriverPtr driver, virQEMUMomentRemove rem = { .driver = driver, .vm = vm, - .metadata_only = true + .metadata_only = true, + .momentDiscard = qemuDomainSnapshotDiscard, }; virDomainSnapshotForEach(vm->snapshots, qemuDomainMomentDiscardAll, &rem);