Add code to convert the VMX feature words back into MSR values,
allowing the user to enable/disable VMX features as they wish. The same
infrastructure enables support for limiting VMX features in named
CPU models.
Signed-off-by: Paolo Bonzini
---
target/i386/cpu.c | 225
On 06/07/19 00:33, Eduardo Habkost wrote:
> Oh, that's the info I was missing. I always expected
> kvm_arch_get_supported_*() to be subject to change (depending on
> KVM and hardware capabilities), and not be part of guest ABI.
For most bits that's true. Just not for these ones, because they are
On Sat, Jul 06, 2019 at 12:42:22AM +0200, Paolo Bonzini wrote:
> On 06/07/19 00:33, Eduardo Habkost wrote:
> > Oh, that's the info I was missing. I always expected
> > kvm_arch_get_supported_*() to be subject to change (depending on
> > KVM and hardware capabilities), and not be part of guest ABI.
On Sat, Jul 06, 2019 at 12:12:49AM +0200, Paolo Bonzini wrote:
> On 05/07/19 23:22, Eduardo Habkost wrote:
> >> +switch (index) {
> >> +case MSR_IA32_VMX_TRUE_PINBASED_CTLS:
> >> +default1 = 0x0016;
> >> +break;
> >> +case MSR_IA32_VMX_TRUE_PROCBASED_CTLS:
> >> +
On 05/07/19 23:22, Eduardo Habkost wrote:
>> +switch (index) {
>> +case MSR_IA32_VMX_TRUE_PINBASED_CTLS:
>> +default1 = 0x0016;
>> +break;
>> +case MSR_IA32_VMX_TRUE_PROCBASED_CTLS:
>> +default1 = 0x0401e172;
>> +break;
>> +case MSR_IA32_VMX_TRUE_
On Tue, Jul 02, 2019 at 05:01:20PM +0200, Paolo Bonzini wrote:
> Add code to convert the VMX feature words back into MSR values,
> allowing the user to enable/disable VMX features as they wish. The same
> infrastructure enables support for limiting VMX features in named
> CPU models.
>
> Signed-o
Add code to convert the VMX feature words back into MSR values,
allowing the user to enable/disable VMX features as they wish. The same
infrastructure enables support for limiting VMX features in named
CPU models.
Signed-off-by: Paolo Bonzini
---
target/i386/cpu.c | 221