]> xenbits.xensource.com Git - libvirt.git/commit
qemu: monitor: Store internal snapshot names from 'query-named-block-nodes'
authorPeter Krempa <pkrempa@redhat.com>
Wed, 2 Oct 2024 12:24:31 +0000 (14:24 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 9 Oct 2024 14:00:43 +0000 (16:00 +0200)
commit6d8ae98fa053919282f86d86ae277c1d8ace3114
treece9ab085338fe00542fbd5542ef0788ea402e58a
parent9df1453db8f3c9e5ad17cf708cc1bb014c830792
qemu: monitor: Store internal snapshot names from 'query-named-block-nodes'

Store the names of internal snapshots present in supported images in the
data we dump from 'query-named-block-nodes' so that the upcoming changes
to the internal snapshot code can access it.

To test this we use the bitmap detection test cases which can be easily
extended to dump this data.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/qemu/qemu_monitor.h
src/qemu/qemu_monitor_json.c
tests/qemublocktest.c
tests/qemublocktestdata/bitmap/snapshots-internal.json [new file with mode: 0644]
tests/qemublocktestdata/bitmap/snapshots-internal.out [new file with mode: 0644]