Re: [PATCH 1/5] KVM: nVMX: Make nested control MSRs per-cpu.

From: Paolo Bonzini
Date: Wed Jan 21 2015 - 05:21:55 EST




On 21/01/2015 10:23, Wincy Van wrote:
> Yes, moving that msrs looks a bit ugly, but the irqchip_in_kernel is
> per-VM, not a global
> setting, there would be different settings of kernel_irqchip between VMs.
> If we use irqchip_in_kernel to check it and set different value of the
> ctl msrs, I think it may
> be even worse than moving the msrs, because this logic should be a
> init function, and this
> setting should be converged.

I too prefer your solution.

Paolo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/