]> git.feebdaed.xyz Git - 0xmirror/libvirt.git/commit
qemu: conf: Use proper type for (save|dump|snapshot)ImageFormat
authorPeter Krempa <pkrempa@redhat.com>
Thu, 4 Dec 2025 13:49:17 +0000 (14:49 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 10 Dec 2025 10:07:34 +0000 (11:07 +0100)
commit22c5ce995b26bd624c21b9d685a270e0f9976772
tree05fdb9f69d627dd2348ed1d38aa2da2bfc955758
parentcad980c83fc2bb7d8634e6f7fcbe3cce4c2a31aa
qemu: conf: Use proper type for (save|dump|snapshot)ImageFormat

Extract the definition of the enum into a separate header file and
convert the config struct to use the proper types.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_conf.c
src/qemu/qemu_conf.h
src/qemu/qemu_saveimage.h
src/qemu/qemu_saveimage_format.h [new file with mode: 0644]