]> xenbits.xensource.com Git - libvirt.git/commit
qemu: blockjob: Add job types for 'snapshot-save/delete'
authorNikolai Barybin via Devel <devel@lists.libvirt.org>
Wed, 17 Jul 2024 18:21:37 +0000 (21:21 +0300)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 9 Oct 2024 13:22:00 +0000 (15:22 +0200)
commitce4ed8deef0a6c1bfb4ececed9395da5daba8b15
tree23010cd88de50c17a8f4913d4a53c1ec13b5655d
parent5d0773633a9933176fa6606bb4e73c7aea3ad8ad
qemu: blockjob: Add job types for 'snapshot-save/delete'

The snapshot creation/deletion QMP commands use the qemu 'job' API
to signal completion thus we need to add corresponding job types.

As the job handles everything internally we don't store anything about
the job.

Signed-off-by: Nikolai Barybin <nikolai.barybin@virtuozzo.com>
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/qemu/qemu_block.c
src/qemu/qemu_blockjob.c
src/qemu/qemu_blockjob.h
src/qemu/qemu_domain.c