2016-08-15 15:00-0300, Eduardo Habkost: > On Mon, Aug 15, 2016 at 07:50:59PM +0200, Radim Krčmář wrote: > [...] >> +static void kvm_clear_invalid_cpuid(struct kvm_vcpu *vcpu) >> +{ >> + struct kvm *kvm = vcpu->kvm; >> + struct kvm_cpuid_entry2 *best; >> + >> + if (!kvm->clear_invalid_cpuid) >> + return; >> + >> + best = kvm_find_cpuid_entry(vcpu, 1, 0); >> + if (best && !lapic_in_kernel(vcpu)) >> + best->ecx &= ~F(X2APIC); > > Isn't it possible to implement x2apic support in userspace APIC > using the current KVM interfaces? No, MSR accesses never get to userspace. We'll probably implement it in the future as there already has been a proposal for unhandled MSRs. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html