1
0
mirror of https://github.com/projectacrn/acrn-hypervisor.git synced 2025-04-30 20:53:56 +00:00
acrn-hypervisor/hypervisor/include/arch/x86/asm
Yichong Tang 27aee66f88 hv: hyperv: Add hyperv page destory function
In current code process, hyperv data in struct vm_arch is never cleared
during VM shutdown and is retained to next VM launch. As the enabled
bit of hypercall_page msr is not clear, hypercall page might cause fatal
error such as Windows VM BSOD during VM restart and memory
remapping. Hyperv page destory function can ensure hyperv page is
destory during each VM shutdown so hyperv related config such as
hypercall page is established correctly during each VM launch.

Tracked-On: 
Signed-off-by: Yichong Tang <yichong.tang@intel.com>
2025-03-10 15:36:03 +08:00
..
boot Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
guest hv: hyperv: Add hyperv page destory function 2025-03-10 15:36:03 +08:00
lib Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
apicreg.h hv: bugfix: fix the ptdev irq destination issue 2023-07-05 17:41:16 +08:00
board.h hv: add ACRN CPU frequency initializer 2022-10-08 11:13:21 +08:00
cpu_caps.h hv: cve hotfix: Disable RRSBA on platform using retpoline 2022-07-22 09:38:41 +08:00
cpu.h hv: enable thermal lvt interrupt 2024-05-16 09:40:32 +08:00
cpufeatures.h hv: cpuid: make leaf 0x4 per-cpu in hybrid architecture 2024-05-28 11:02:56 +08:00
cpuid.h hv: cpuid: expose CPUID.EAX=07H subleaf to VMs 2024-09-09 14:03:51 +08:00
default_acpi_info.h Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
e820.h hv: define a MACRO to indicate maximum memory size 2023-09-12 13:52:48 +08:00
gdt.h Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
host_pm.h hv: handle reboot from Service VM properly 2024-09-09 14:37:16 +08:00
idt.h Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
init.h Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
io.h hv: vpci: ignore PCI I/O BAR with non-zero upper 16 bits 2023-06-26 14:40:57 +08:00
ioapic.h Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
irq.h hv: enable thermal lvt interrupt 2024-05-16 09:40:32 +08:00
lapic.h doc: remove '@return None' for void functions 2023-08-03 14:56:29 -07:00
mmu.h doc: remove '@return None' for void functions 2023-08-03 14:56:29 -07:00
msr.h hv: expose thermal MSRs to VM. 2024-05-16 09:40:32 +08:00
notify.h hv: improve smp call to support debugging RTVM 2022-09-26 13:28:02 +08:00
page.h doc: add module design for some defines in hwmgmt_page 2024-08-01 14:50:27 +08:00
pci_dev.h Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
per_cpu.h hv: support halt in hv idle 2023-09-15 11:52:40 +08:00
pgtable.h doc: add module design for some defines in hwmgmt_page 2024-08-01 14:50:27 +08:00
platform_caps.h Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
rdt.h Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
rtcm.h Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
rtct.h Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
security.h hv: cve hotfix: Disable RRSBA on platform using retpoline 2022-07-22 09:38:41 +08:00
seed.h Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
sgx.h Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
trampoline.h Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
tsc.h doc: remove '@return None' for void functions 2023-08-03 14:56:29 -07:00
vm_config.h Change Service VM to supervisor role 2024-06-28 13:35:07 +08:00
vmx.h Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
vtd.h hv: vtd: allocate drhd_dev_scope based on board file 2024-08-05 15:51:17 +08:00
zeropage.h Update copyright year range in code headers 2022-07-15 11:48:35 +08:00