summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorWincy Van <fanwenyi0529@gmail.com>2015-02-03 18:49:31 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2015-02-03 19:02:32 +0300
commit3af18d9c5fe95a6b377dca7b9ff9c6d3ab7f0969 (patch)
treee963341b8a466dbf2a7130201facf5bb1d213064 /drivers
parent2e6d015799d523dcce11c7d1465e6feb7b69fab1 (diff)
downloadlinux-3af18d9c5fe95a6b377dca7b9ff9c6d3ab7f0969.tar.xz
KVM: nVMX: Prepare for using hardware MSR bitmap
Currently, if L1 enables MSR_BITMAP, we will emulate this feature, all of L2's msr access is intercepted by L0. Features like "virtualize x2apic mode" require that the MSR bitmap is enabled, or the hardware will exit and for example not virtualize the x2apic MSRs. In order to let L1 use these features, we need to build a merged bitmap that only not cause a VMEXIT if 1) L1 requires that 2) the bit is not required by the processor for APIC virtualization. For now the guests are still run with MSR bitmap disabled, but this patch already introduces nested_vmx_merge_msr_bitmap for future use. Signed-off-by: Wincy Van <fanwenyi0529@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions