]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuProcessStart: Rename 'snapshot' to 'internalSnapshotRevert'
authorPeter Krempa <pkrempa@redhat.com>
Tue, 13 May 2025 17:05:31 +0000 (19:05 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 16 May 2025 12:48:21 +0000 (14:48 +0200)
commit897b3aa3c5dc53fb635c0f659847347a1f73b74e
tree2f9d1fa76fde627e77374fa24ee18d052d54c03b
parenta82f2b6de707d7248c92ba92dfb05bdd8f84c4a4
qemuProcessStart: Rename 'snapshot' to 'internalSnapshotRevert'

Make it obvious that the variable is used for internal snapshot
reversion by renaming it. This is necessary mainly as the function
parameters are not documented, but makes it obvious also if they were.

We can also report the name of the sanpshot rather than a pointer that
says absolutely nothing to the reader.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_process.c
src/qemu/qemu_process.h