acrn-hypervisor/hypervisor/arch/x86/guest
Yifan Liu a7c2739965 hv: quirks: SMBIOS passthrough for prelaunched-VM
This feature is guarded under config CONFIG_SECURITY_VM_FIXUP, which
by default should be disabled.

This patch passthrough native SMBIOS information to prelaunched VM.
SMBIOS table contains a small entry point structure and a table, of which
the entry point structure will be put in 0xf0000-0xfffff region in guest
address space, and the table will be put in the ACPI_NVS region in guest
address space.

v2 -> v3:
uuid_is_equal moved to util.h as inline API
result -> pVendortable, in function efi_search_guid
recalc_checksum -> generate_checksum
efi_search_smbios -> efi_search_smbios_eps
scan_smbios_eps kept (checked with Shiqing)
EFI GUID definition kept

Tracked-On: #6320
Signed-off-by: Yifan Liu <yifan1.liu@intel.com>
2021-08-23 14:52:36 +08:00
..
assign.c hv: validate input for dmar_free_irte function 2021-06-08 09:03:10 +08:00
ept.c hv: Use 64 bits definition for 64 bits MSR_IA32_VMX_EPT_VPID_CAP operation 2021-07-02 09:24:12 +08:00
guest_memory.c hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
hyperv.c hv/mod_timer: split tsc handling code from timer. 2021-05-18 16:43:28 +08:00
instr_emul.c HV: Fix decode_instruction() trigger #UD for emulating UC-lock 2021-07-21 11:25:47 +08:00
lock_instr_emul.c HV: rename splitlock file name 2021-07-21 11:25:47 +08:00
nested.c hv: Wrap same code as a static function 2021-06-09 10:07:05 +08:00
pm.c hv: dm: Use new power management data structures 2021-07-15 11:53:54 +08:00
trusty.c hv/mod_timer: split tsc handling code from timer. 2021-05-18 16:43:28 +08:00
ucode.c hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
vcpu.c hv: initialize the XSAVE related processor state for guest 2021-08-19 15:58:17 +08:00
vcpuid.c hv: mask off LA57 in cpuid 2021-08-18 16:26:25 +08:00
ve820.c hv: ve820: Minor changes to prelaunched VM ve820 mapping 2021-08-18 21:38:23 +08:00
vept.c hv: nested: Keep privilege bits sync in shadow EPT entry 2021-07-02 09:24:12 +08:00
virq.c HV: rename splitlock file name 2021-07-21 11:25:47 +08:00
virtual_cr.c hv: nested: enable nested virtualization 2021-05-13 16:16:30 +08:00
vlapic_priv.h hv: add ops to vlapic structure 2019-07-19 16:47:06 +08:00
vlapic.c HV: Fix decode_instruction() trigger #UD for emulating UC-lock 2021-07-21 11:25:47 +08:00
vm_reset.c hv: dm: Use new power management data structures 2021-07-15 11:53:54 +08:00
vm.c hv: quirks: SMBIOS passthrough for prelaunched-VM 2021-08-23 14:52:36 +08:00
vmcall.c hv: dm: Use new VM management ioctls 2021-07-15 11:53:54 +08:00
vmcs.c hv: remove xsave dependence 2021-08-10 16:36:15 +08:00
vmexit.c hv: remove xsave dependence 2021-08-10 16:36:15 +08:00
vmsr.c hv: remove xsave dependence 2021-08-10 16:36:15 +08:00
vmtrr.c hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
vmx_asm.S hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
vmx_io.c HV: Fix decode_instruction() trigger #UD for emulating UC-lock 2021-07-21 11:25:47 +08:00