linux/arch/x86/kvm
Andre Przywara ed85c06853 KVM: introduce module parameter for ignoring unknown MSRs accesses
KVM will inject a #GP into the guest if that tries to access unhandled
MSRs. This will crash many guests. Although it would be the correct
way to actually handle these MSRs, we introduce a runtime switchable
module param called "ignore_msrs" (defaults to 0). If this is Y, unknown
MSR reads will return 0, while MSR writes are simply dropped. In both cases
we print a message to dmesg to inform the user about that.

You can change the behaviour at any time by saying:

 # echo 1 > /sys/modules/kvm/parameters/ignore_msrs

Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
2009-09-10 08:33:03 +03:00
..
i8254.c KVM: x86: missing locking in PIT/IRQCHIP/SET_BSP_CPU ioctl paths 2009-09-10 08:33:02 +03:00
i8254.h KVM: Allow PIT emulation without speaker port 2009-09-10 08:32:41 +03:00
i8259.c KVM: Introduce kvm_vcpu_is_bsp() function. 2009-09-10 08:32:51 +03:00
irq.c KVM: Remove irq_pending bitmap 2009-06-10 11:48:57 +03:00
irq.h KVM: make irq ack notifications aware of routing table 2009-03-24 11:03:08 +02:00
Kconfig KVM: Break dependency between vcpu index in vcpus array and vcpu_id. 2009-09-10 08:32:52 +03:00
kvm_cache_regs.h KVM: Cache pdptrs 2009-09-10 08:32:46 +03:00
kvm_timer.h KVM: Use pointer to vcpu instead of vcpu_id in timer code. 2009-09-10 08:32:52 +03:00
lapic.c KVM: convert custom marker based tracing to event traces 2009-09-10 08:32:59 +03:00
lapic.h KVM: Optimize searching for highest IRR 2009-09-10 08:32:57 +03:00
Makefile KVM: convert custom marker based tracing to event traces 2009-09-10 08:32:59 +03:00
mmu.c KVM: Prepare memslot data structures for multiple hugepage sizes 2009-09-10 08:33:02 +03:00
mmu.h KVM: MMU: add kvm_mmu_get_spte_hierarchy helper 2009-09-10 08:32:56 +03:00
paging_tmpl.h KVM: Prepare memslot data structures for multiple hugepage sizes 2009-09-10 08:33:02 +03:00
svm.c KVM: ignore AMDs HWCR register access to set the FFDIS bit 2009-09-10 08:33:02 +03:00
timer.c KVM: Drop useless atomic test from timer function 2009-09-10 08:32:57 +03:00
trace.h KVM: convert custom marker based tracing to event traces 2009-09-10 08:32:59 +03:00
tss.h KVM: x86: hardware task switching support 2008-04-27 12:00:39 +03:00
vmx.c KVM: convert custom marker based tracing to event traces 2009-09-10 08:32:59 +03:00
x86_emulate.c KVM: x86 emulator: Add sysexit emulation 2009-09-10 08:33:01 +03:00
x86.c KVM: introduce module parameter for ignoring unknown MSRs accesses 2009-09-10 08:33:03 +03:00
x86.h KVM: Do not re-execute INTn instruction. 2009-06-10 11:48:58 +03:00