acrn-hypervisor/hypervisor/arch/x86/guest
Binbin Wu f32b59d73d hv: disable mpx capability for guest
This patch hide Memory Protection Extention (MPX) capability from guest.

- vCPUID change:
  Clear cpuid.07H.0.ebx[14]
  Clear cpuid.0DH.0.eax[4:3]
- vMSR change:
  Add MSR_IA32_BNDCFGS to un-supported MSR array.
- XCR0[4:3] is not allowed to set by guest.

Tracked-On: #2821
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2019-03-20 13:07:31 +08:00
..
assign.c hv: Remove multiple definitions for dmar translation structures 2019-03-08 15:23:20 +08:00
ept.c hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
guest_memory.c HV: Modularize boot folder 2019-03-14 09:05:53 +08:00
instr_emul.c hv:move instr_emul_ctxt instance to struct vcpu 2019-03-13 14:04:20 +08:00
io_emul.c hv:move instr_emul_ctxt instance to struct vcpu 2019-03-13 14:04:20 +08:00
pm.c HV: refine location of platform_acpi_info header 2019-03-08 10:34:14 +08:00
trusty.c hv: trusty: refine control registers switching method 2019-03-15 10:08:25 +08:00
ucode.c hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
vcpu.c hv: update CR0/CR4 on demand in run_vcpu() 2019-03-19 09:57:08 +08:00
vcpuid.c hv: disable mpx capability for guest 2019-03-20 13:07:31 +08:00
virq.c hv: vlapic: add combined constraint for APICv 2019-03-12 20:37:06 +08:00
virtual_cr.c hv: pae: fix a issue of loading pdptrs when handle cr4 2019-02-21 18:54:22 +08:00
vlapic_priv.h hv: self-IPI APIC register in x2APIC mode of guest vLAPIC 2018-11-02 13:48:43 +08:00
vlapic.c hv: vlapic: add combined constraint for APICv 2019-03-12 20:37:06 +08:00
vm.c hv: remove CONFIG_PARTITION_MODE for pre-launched VM vE820 creation 2019-03-19 14:28:43 +08:00
vmcall.c hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
vmcs.c hv: vlapic: add combined constraint for APICv 2019-03-12 20:37:06 +08:00
vmexit.c hv: disable mpx capability for guest 2019-03-20 13:07:31 +08:00
vmsr.c hv: disable mpx capability for guest 2019-03-20 13:07:31 +08:00
vmtrr.c hv: vmtrr: hide mtrr if hide_mtrr is true 2019-03-16 17:14:12 +08:00
vmx_asm.S hv: refine guest.h 2019-02-03 13:00:42 +08:00