mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-20 14:21:44 +00:00
vmx.c should only take care host vmx operations, which should not contain vcpu reference, so refine vmx on/off APIs, move out use of vcpu by adding one per cpu vmcs_run pointer. as now each pcpu only run on one vcpu, so just keep running vmcs in per cpu vmcs_run pointer is enough. Changes to be committed: modified: arch/x86/cpu.c modified: arch/x86/init.c modified: arch/x86/pm.c modified: arch/x86/vmcs.c modified: arch/x86/vmx.c modified: include/arch/x86/per_cpu.h modified: include/arch/x86/vmx.h Tracked-On: #1842 Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com> |
||
---|---|---|
.. | ||
x86 |