Re: [PATCH] x86/kvm/lapic: always disable MMIO interface in x2APIC mode

2018-09-14 Thread Paolo Bonzini
On 02/08/2018 17:08, Vitaly Kuznetsov wrote: > When VMX is used with flexpriority disabled (because of no support or > if disabled with module parameter) MMIO interface to lAPIC is still > available in x2APIC mode while it shouldn't be (kvm-unit-tests): > > PASS: apic_disable: Local apic enabled i

[PATCH] x86/kvm/lapic: always disable MMIO interface in x2APIC mode

2018-08-02 Thread Vitaly Kuznetsov
When VMX is used with flexpriority disabled (because of no support or if disabled with module parameter) MMIO interface to lAPIC is still available in x2APIC mode while it shouldn't be (kvm-unit-tests): PASS: apic_disable: Local apic enabled in x2APIC mode PASS: apic_disable: CPUID.1H:EDX.APIC[bit