mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-05 15:45:05 +00:00
- Put most of the emulated MSR number in emulated_msrs[], and remove the individual calls to enable_msr_interception(). - vcpu_thread() injects General Purpose exception to the guest if any VMEXIT handler doesn't return 0. This patch removes vcpu_inject_gp() from all MSR VMEXIT handlers to keep the code clean. - remove dead code. Tracked-On: #1867 Signed-off-by: Zide Chen <zide.chen@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>