]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: process: Probe machine type data on reconnect to qemu
authorPeter Krempa <pkrempa@redhat.com>
Mon, 28 Aug 2023 09:35:07 +0000 (11:35 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 4 Sep 2023 08:31:52 +0000 (10:31 +0200)
commita9e71cb737a654dfcab1f1f47a2d0484a563ce56
treed95a42038584783f869028eed5871d8d6d8d53c1
parente0a5787bfff84ea4a4c07d48e52ed181ea0cb890
qemu: process: Probe machine type data on reconnect to qemu

When reconnecting we populate only the capability flags from the XML as
we need to know the exact flags that were present when starting the VM.

On the other hand the machine type data is not stored as it wasn't
really used after startup. While storing all of the data into the status
XML would be theoretically possible, with machine-type specific data it
makes no sense to do so, and thus the data can be re-probed from the
current instance.

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