]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Use virDomainCapsCPUUsable in qemuMonitorCPUDefInfo
authorJiri Denemark <jdenemar@redhat.com>
Tue, 29 Oct 2019 13:36:11 +0000 (14:36 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 20 Nov 2019 16:22:05 +0000 (17:22 +0100)
commitb3ef7efaa57ab9122e8ea0b5bf16d19b5c2b2558
tree0b0677f1f8dc3eb2c3181eb4b176a3f3b1c2477b
parent7f091cb6ed980da6a0ecfb03a39b321c4f452874
qemu: Use virDomainCapsCPUUsable in qemuMonitorCPUDefInfo

While virDomainCapsCPUModel structure contains 'usable' field with
virDomainCapsCPUUsable type, the lower level structure specific to QEMU
driver used virTriStateBool for the same thing and we had to translate
between them.

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