Skip to content

qemu driver must not use hardcoded "/machine/unattached/device[0]" QOM path when probing cpu flags

Description of problem

QEMU is going to change the QOM path for cpus, which will break libvirt's cpu flag probing code:

https://lists.gnu.org/archive/html/qemu-devel/2022-02/msg01325.html

qemu developers suggest to use 'query-hotpluggable-cpus' to fetch the QOM path to the default CPU

Edited by Peter Krempa
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information