]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: monitor: Track inactive state of block nodes in 'qemuBlockNamedNodeData'
authorPeter Krempa <pkrempa@redhat.com>
Thu, 24 Jul 2025 12:49:55 +0000 (14:49 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 21 Oct 2025 13:32:39 +0000 (15:32 +0200)
commit648b0ddb13f2adbabee5471c207ac82c4d20a4c6
treecc1b799fbef8a4dcd4db31afce36f27cf72bcd6c
parentac6b351b42bd6e773b08f7942985fc30874ebb91
qemu: monitor: Track inactive state of block nodes in 'qemuBlockNamedNodeData'

New qemus report if given block node is active. We'll be using this data
to decide if we need to reactivate them prior to blockjobs. Extract the
data as 'inactive' as it's simpler to track and we care only about
inactive nodes.

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