]> xenbits.xensource.com Git - libvirt.git/commit
qemu: domain: Store 'qomPath' in qemuDomainVcpuPrivate
authorPeter Krempa <pkrempa@redhat.com>
Mon, 7 Feb 2022 10:56:40 +0000 (11:56 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 7 Feb 2022 17:04:52 +0000 (18:04 +0100)
commitf0a495161629662af3a820895bf35bed61863ae0
tree9c0ea26d17a9510c11a2342c80d1daf8f28764a9
parent715846b6eaf73bdd40cb9d5016c49e593475809b
qemu: domain: Store 'qomPath' in qemuDomainVcpuPrivate

The QOM path will be needed by code which is querying the cpu flags via
'qom-get' and thus needs a valid QOM path to the vCPU.

Add it into the private data and transfer from the queried data.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_monitor.h