]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_domain: Fix qemuDomainFixupCPUs
authorJiri Denemark <jdenemar@redhat.com>
Fri, 24 Oct 2025 13:27:03 +0000 (15:27 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 3 Nov 2025 11:33:26 +0000 (12:33 +0100)
commit2ab6925218df7298c17f0186425624aa792a5e84
tree5b0c79b6e30b9e617d7e113737056a8eb1a5a066
parentfbf44bc8cf63ab5c7641f1aa04aaf7fb5eaab62e
qemu_domain: Fix qemuDomainFixupCPUs

The function was apparently created when the list of ignored CPU
features contained just cmt and related features. The list grew quite a
bit since then and this function stopped making sense as it would remove
all ignored features from CPU definitions but only if cmt was present.
The issue with cmt is long gone and this function was not really doing
anything. Surprisingly this didn't cause any real issues as we don't
update CPU definitions with features unknown to QEMU. But we may still
want to remove ignored features even though QEMU knows about them for
compatibility reasons.

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