linux/arch/x86/kvm
Wincy Van 670125bda1 KVM: VMX: Set msr bitmap correctly if vcpu is in guest mode
In commit 3af18d9c5f ("KVM: nVMX: Prepare for using hardware MSR bitmap"),
we are setting MSR_BITMAP in prepare_vmcs02 if we should use hardware. This
is not enough since the field will be modified by following vmx_set_efer.

Fix this by setting vmx_msr_bitmap_nested in vmx_set_msr_bitmap if vcpu is
in guest mode.

Signed-off-by: Wincy Van <fanwenyi0529@gmail.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
2015-03-13 09:24:51 -03:00
..
assigned-dev.c
assigned-dev.h
cpuid.c
cpuid.h
emulate.c KVM: emulate: fix CMPXCHG8B on 32-bit hosts 2015-02-23 22:28:48 +01:00
i8254.c
i8254.h
i8259.c kvm: x86: i8259: return initialized data on invalid-size read 2015-03-12 22:02:46 -03:00
ioapic.c
ioapic.h
iommu.c
irq_comm.c
irq.c
irq.h
Kconfig
kvm_cache_regs.h
lapic.c KVM: SVM: fix interrupt injection (apic->isr_count always 0) 2015-03-02 19:04:40 -03:00
lapic.h
Makefile
mmu_audit.c
mmu.c
mmu.h
mmutrace.h
paging_tmpl.h
pmu.c
svm.c KVM: SVM: fix interrupt injection (apic->isr_count always 0) 2015-03-02 19:04:40 -03:00
trace.h
tss.h
vmx.c KVM: VMX: Set msr bitmap correctly if vcpu is in guest mode 2015-03-13 09:24:51 -03:00
x86.c kvm: move advertising of KVM_CAP_IRQFD to common code 2015-03-10 21:18:59 -03:00
x86.h