mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-13 19:25:13 +00:00
qemu_snapshot: revert: rename qemuSnapshotRevertInactive
Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
0c9d25481a
commit
405375ceb0
@ -2126,7 +2126,7 @@ qemuSnapshotRevertActive(virDomainObj *vm,
|
|||||||
|
|
||||||
/* The domain is expected to be locked and inactive. */
|
/* The domain is expected to be locked and inactive. */
|
||||||
static int
|
static int
|
||||||
qemuSnapshotRevertInactive(virQEMUDriver *driver,
|
qemuSnapshotInternalRevertInactive(virQEMUDriver *driver,
|
||||||
virDomainObj *vm,
|
virDomainObj *vm,
|
||||||
virDomainMomentObj *snap)
|
virDomainMomentObj *snap)
|
||||||
{
|
{
|
||||||
@ -2242,7 +2242,7 @@ qemuSnapshotRevert(virDomainObj *vm,
|
|||||||
virObjectEventStateQueue(driver->domainEventState, event);
|
virObjectEventStateQueue(driver->domainEventState, event);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (qemuSnapshotRevertInactive(driver, vm, snap) < 0) {
|
if (qemuSnapshotInternalRevertInactive(driver, vm, snap) < 0) {
|
||||||
qemuDomainRemoveInactive(driver, vm);
|
qemuDomainRemoveInactive(driver, vm);
|
||||||
goto endjob;
|
goto endjob;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user