Currently "-cpu -feature,+feature" will disable -feature, which seems contrary to the intention of the user. Fix this such that the later flag wins. There are no changes to the interaction of +/- and =on/=off.
Enabling KVM currently causes a default set of KVM features to be enabled. Allow this default set to be defeated, requiring all features to be explicitly enabled. David Edmondson (1): hw/i386: -cpu model,-feature,+feature should enable feature Joao Martins (1): target/i386: Add "-cpu +kvm-no-defaults" target/i386/cpu.c | 38 +++++++++++++++++++++++------ target/i386/cpu.h | 3 +++ tests/qtest/test-x86-cpuid-compat.c | 8 +++--- 3 files changed, 38 insertions(+), 11 deletions(-) -- 2.29.2