]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: capabilities: Export functions necessary for probing machine types
authorPeter Krempa <pkrempa@redhat.com>
Mon, 28 Aug 2023 10:56:40 +0000 (12:56 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 4 Sep 2023 08:31:52 +0000 (10:31 +0200)
commite0a5787bfff84ea4a4c07d48e52ed181ea0cb890
tree200b335563308ad6c87fcc509c855077bf1a60a4
parentc7a0a0fe117eedad204a1394cb86d767f71dfac4
qemu: capabilities: Export functions necessary for probing machine types

Upcoming patch will re-probe machines from the current qemu instance to
populate the private copy of qemuCaps after reconnecting to a running
instance. This is needed to be able to access the machine type data,
while storing them in the status XML seems to be an overkill, for
information which can be easily reprobed.

Export 'virQEMUCapsInitQMPArch' needed to populate the 'arch' field and
'virQEMUCapsProbeQMPMachineTypes'.

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