]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_monitor: Filter CPU features reported by QEMU
authorJiri Denemark <jdenemar@redhat.com>
Fri, 24 Oct 2025 15:16:32 +0000 (17:16 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 3 Nov 2025 11:33:26 +0000 (12:33 +0100)
commit4d5c1bc24119e90dfbcdae6a120027e5c1ede608
treed7d3429c163f0ffdb0a326bb70b3dc3f69b6399c
parentc15ae99dab903004b82f8447f44df09973696f72
qemu_monitor: Filter CPU features reported by QEMU

Some features may be on our ignore list because they do nothing even
though QEMU still supports them and reports their state. But as the
features do nothing, the state reported by QEMU may not correspond to
what the guest sees. To avoid possible confusion we may just pretend
QEMU did not report any of the features on our ignore list.

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
src/qemu/qemu_process.c
tests/qemumonitorjsontest.c