]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Switch qemuCaps to use qemuMonitorCPUDefs
authorJiri Denemark <jdenemar@redhat.com>
Tue, 24 Sep 2019 14:38:05 +0000 (16:38 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 20 Nov 2019 16:22:06 +0000 (17:22 +0100)
commitbc0b22884a6a9de261d9b7bdb12e23db1c64c748
treebe29a874017f000fda5e6757d53b788b736a33f3
parent857b88f5c3342bcdd0fbe47ba180409918bc09cb
qemu: Switch qemuCaps to use qemuMonitorCPUDefs

We will need to keep some QEMU-specific data for each CPU model
supported by a QEMU binary. Instead of complicating the generic
virDomainCapsCPUModelsPtr, we can just directly store
qemuMonitorCPUDefsPtr returned by the capabilities probing code.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_capabilities.c