[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC PATCH 0/2] x86 CPU feature +/- fiddling and +kvm-no-defaults
From: |
David Edmondson |
Subject: |
[RFC PATCH 0/2] x86 CPU feature +/- fiddling and +kvm-no-defaults |
Date: |
Tue, 19 Jan 2021 14:22:05 +0000 |
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
- [RFC PATCH 0/2] x86 CPU feature +/- fiddling and +kvm-no-defaults,
David Edmondson <=
- [RFC PATCH 2/2] target/i386: Add "-cpu +kvm-no-defaults", David Edmondson, 2021/01/19
- [RFC PATCH 1/2] hw/i386: -cpu model, -feature, +feature should enable feature, David Edmondson, 2021/01/19
- Re: [RFC PATCH 1/2] hw/i386: -cpu model,-feature,+feature should enable feature, Eduardo Habkost, 2021/01/19
- Re: [External] : Re: [RFC PATCH 1/2] hw/i386: -cpu model,-feature,+feature should enable feature, David Edmondson, 2021/01/19
- Re: [External] : Re: [RFC PATCH 1/2] hw/i386: -cpu model,-feature,+feature should enable feature, Eduardo Habkost, 2021/01/19
- Re: [External] : Re: [RFC PATCH 1/2] hw/i386: -cpu model,-feature,+feature should enable feature, Igor Mammedov, 2021/01/20
- Re: [RFC PATCH 1/2] hw/i386: -cpu model,-feature,+feature should enable feature, David Edmondson, 2021/01/20
- Re: [External] : Re: [RFC PATCH 1/2] hw/i386: -cpu model,-feature,+feature should enable feature, Daniel P . Berrangé, 2021/01/20
- Re: [RFC PATCH 1/2] hw/i386: -cpu model,-feature,+feature should enable feature, David Edmondson, 2021/01/20
- Re: [RFC PATCH 1/2] hw/i386: -cpu model,-feature,+feature should enable feature, Eduardo Habkost, 2021/01/20