From: Wincy Van Date: Tue, 3 Feb 2015 15:56:30 +0000 (+0800) Subject: KVM: nVMX: Make nested control MSRs per-cpu X-Git-Tag: fixes-v4.0-rc1~113^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9c237bb1db61f107b5d7cee5008e4a6b96ff800;p=pandora-kernel.git KVM: nVMX: Make nested control MSRs per-cpu To enable nested apicv support, we need per-cpu vmx control MSRs: 1. If in-kernel irqchip is enabled, we can enable nested posted interrupt, we should set posted intr bit in the nested_vmx_pinbased_ctls_high. 2. If in-kernel irqchip is disabled, we can not enable nested posted interrupt, the posted intr bit in the nested_vmx_pinbased_ctls_high will be cleared. Since there would be different settings about in-kernel irqchip between VMs, different nested control MSRs are needed. Signed-off-by: Wincy Van Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed