]> git.ipfire.org Git - thirdparty/libvirt.git/commit
cpu_x86: Promote added/removed from ancestor
authorJiri Denemark <jdenemar@redhat.com>
Fri, 15 Nov 2024 13:52:12 +0000 (14:52 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 26 Nov 2024 12:04:33 +0000 (13:04 +0100)
commit88e7cc1477176f348371ee363e00a0a7348cfa96
treed6bd503aa737d07c03f78a058c190edafcfa6520
parent61dd5d6bef76a74efe538b8091c382569b7ce37e
cpu_x86: Promote added/removed from ancestor

When a CPU model is defined based on another model, we were completely
ignoring features marked as added to or removed from the original model
after it was released. For added features this is the right thing to do
as it will promote them to become normal features included in the new
model. But features marked as removed would become included in the new
model as well. We need to explicitly remove them as if they were never
included in the model.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/cpu/cpu_x86.c