Re: GET_SUPPORTED_CPUID and irqchip (was Re: kvm_pv_unhalt and kernel_irqchip=off)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

-- 
Eduardo
--
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



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux