mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 23:37:42 +00:00
qemu: snapshot: Rename 'qemuSnapshotCreateDiskActive' to 'qemuSnapshotCreateActiveExternalDisks'
Be more specific about the role of the function. It's creating the disk portion of an external active snapshot. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
f4b6e71611
commit
8eacbeac74
@ -1151,7 +1151,7 @@ qemuSnapshotDiskUpdateSource(virQEMUDriverPtr driver,
|
||||
|
||||
/* The domain is expected to be locked and active. */
|
||||
static int
|
||||
qemuSnapshotCreateDiskActive(virQEMUDriverPtr driver,
|
||||
qemuSnapshotCreateActiveExternalDisks(virQEMUDriverPtr driver,
|
||||
virDomainObjPtr vm,
|
||||
virDomainMomentObjPtr snap,
|
||||
virHashTablePtr blockNamedNodeData,
|
||||
@ -1346,7 +1346,7 @@ qemuSnapshotCreateActiveExternal(virQEMUDriverPtr driver,
|
||||
|
||||
/* the domain is now paused if a memory snapshot was requested */
|
||||
|
||||
if ((ret = qemuSnapshotCreateDiskActive(driver, vm, snap,
|
||||
if ((ret = qemuSnapshotCreateActiveExternalDisks(driver, vm, snap,
|
||||
blockNamedNodeData, flags, cfg,
|
||||
QEMU_ASYNC_JOB_SNAPSHOT)) < 0)
|
||||
goto cleanup;
|
||||
|
Loading…
Reference in New Issue
Block a user