]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Introduce generic qemuMonitorGetGuestCPU
authorJiri Denemark <jdenemar@redhat.com>
Mon, 17 Jun 2019 21:36:53 +0000 (23:36 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 19 Jun 2019 22:22:39 +0000 (00:22 +0200)
commitcc6d6b3cb995110a1d9da97f31ce68c2290f4332
tree116ea27315b83dbf116386a6b74570369b1c1042
parent430023e5ee3f7549104f5eb09e3c26563a11882c
qemu: Introduce generic qemuMonitorGetGuestCPU

Unlike the old version (which is now called qemuMonitorGetGuestCPUx86),
this monitor API checks for individual features by their names rather
than processing CPUID bits. Thus we can get the list of enabled and
disabled features for both CPUID and MSR features.

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