mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-28 19:41:16 +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. */
|
||||
static int
|
||||
qemuSnapshotRevertInactive(virQEMUDriver *driver,
|
||||
qemuSnapshotInternalRevertInactive(virQEMUDriver *driver,
|
||||
virDomainObj *vm,
|
||||
virDomainMomentObj *snap)
|
||||
{
|
||||
@ -2242,7 +2242,7 @@ qemuSnapshotRevert(virDomainObj *vm,
|
||||
virObjectEventStateQueue(driver->domainEventState, event);
|
||||
}
|
||||
|
||||
if (qemuSnapshotRevertInactive(driver, vm, snap) < 0) {
|
||||
if (qemuSnapshotInternalRevertInactive(driver, vm, snap) < 0) {
|
||||
qemuDomainRemoveInactive(driver, vm);
|
||||
goto endjob;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user