Signed-off-by: Pavel Hrdina <phrdina(a)redhat.com>
---
src/qemu/qemu_snapshot.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/qemu/qemu_snapshot.c b/src/qemu/qemu_snapshot.c
index 4f0e484ab5..6b300d808a 100644
--- a/src/qemu/qemu_snapshot.c
+++ b/src/qemu/qemu_snapshot.c
@@ -2126,9 +2126,9 @@ qemuSnapshotRevertActive(virDomainObj *vm,
/* The domain is expected to be locked and inactive. */
static int
-qemuSnapshotRevertInactive(virQEMUDriver *driver,
- virDomainObj *vm,
- virDomainMomentObj *snap)
+qemuSnapshotInternalRevertInactive(virQEMUDriver *driver,
+ virDomainObj *vm,
+ virDomainMomentObj *snap)
{
size_t i;
@@ -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;
}
--
2.31.1