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

From: Paolo Bonzini
Date: Thu Aug 02 2018 - 12:04:36 EST

On 02/08/2018 15:30, Vitaly Kuznetsov wrote:
>> Vitaly, perhaps you could resubmit this patch, and provide a
>> KVM_CAP_DISABLE_QUIRKS switch that would make apic_mmio_{read,write}
>> return -EOPNOTSUPP in this case?
> Just to make sure I understand,
> we introduce a KVM_QUIRK_LAPIC_DISABLED_MMIO bit and will be emulating
> MMIO hole in KVM till Qemu is able to deal with reads/writes passed to
> it correctly?

Yes, or forever, whichever comes first.