acrn-hypervisor/hypervisor/arch/x86
Zide Chen 79bf121e9b hv: throw GP for MSR accesses if they are disabled from guest CPUID
This patch places all unsupported MSRs in the intercepted_msrs[], but
don't implement any handlers in the switch clauses. Hence any
accesses from guests result in GP exceptions.

Tracked-On: #1867
Signed-off-by: Zide Chen <zide.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-11-30 15:03:16 +08:00
..
boot modularization: boot component - move files 2018-11-29 15:44:56 +08:00
configs HV: allow disabling serial port via Kconfig 2018-11-30 15:00:05 +08:00
guest hv: throw GP for MSR accesses if they are disabled from guest CPUID 2018-11-30 15:03:16 +08:00
assign.c hv:Rename ptdev to ptirq for some APIs 2018-11-30 13:27:49 +08:00
cpu_state_tbl.c HV: add px cx data of bxt n3350 SOC 2018-11-09 13:07:53 +08:00
cpu.c hv: fix '(void) missing for discarded return value' 2018-11-15 10:54:42 +08:00
cpuid.c hv: clear CPUID.07H.EBX[2] to disable SGX from guests 2018-11-30 15:03:16 +08:00
ept.c hv: ept: set snp control when modify 2018-11-09 13:00:51 +08:00
gdt.c fix "Procedure is not pure assembler" 2018-11-13 16:28:58 +08:00
io.c doc: replace return with retval 2018-11-30 14:55:17 +08:00
ioapic.c hv: irq: fix "Procedure has more than one exit point" 2018-11-29 15:03:48 +08:00
irq.c hv: irq: fix "Procedure has more than one exit point" 2018-11-29 15:03:48 +08:00
Kconfig HV: allow disabling serial port via Kconfig 2018-11-30 15:00:05 +08:00
lapic.c hv: lapic: fix a theoretic infinite loop when clear lapic isr 2018-11-22 12:44:21 +08:00
mmu.c hv:Revise sanitized page size 2018-11-27 13:09:04 +08:00
mtrr.c hv: fix integer violations 2018-11-14 12:46:34 +08:00
notify.c Fix to kernel hang in smp_call_function 2018-10-26 13:44:18 +08:00
page.c HV:treewide:rename vm data structure 2018-11-05 15:35:49 +08:00
pagetable.c hv: mmu: replace dynamic memory allocation in memory 2018-11-02 13:15:48 +08:00
pm.c hv: fix '(void) missing for discarded return value' 2018-11-15 10:54:42 +08:00
retpoline-thunk.S license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
static_checks.c hv: fix a minor bug of static checks 2018-11-08 09:26:56 +08:00
timer.c fix "Procedure is not pure assembler" 2018-11-13 16:28:58 +08:00
trusty.c hv: fix 'Function return value potentially unused' 2018-11-30 06:54:54 +08:00
virq.c hv: fix 'Function return value potentially unused' 2018-11-30 06:54:54 +08:00
vmexit.c hypervisor: use "wbinvd" carefully in RT environment 2018-11-16 10:24:23 +08:00
vmx_asm.S fix spec_ctrl msr save/restore 2018-08-16 16:24:13 +08:00
vmx.c hv: code cleanup: vmsr.c 2018-11-30 15:03:16 +08:00
vtd.c hv: fix 'Function return value potentially unused' 2018-11-30 06:54:54 +08:00
wakeup.S hv: fix 'User name starts with underscore' 2018-09-30 14:45:37 +08:00