mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-06 08:04:55 +00:00
exception: only trap #MC
HV only print out message for #MC then inject it back to guest. Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
@@ -974,9 +974,9 @@ static void init_exec_ctrl(struct vcpu *vcpu)
|
||||
|
||||
/* Set up guest exception mask bitmap setting a bit * causes a VM exit
|
||||
* on corresponding guest * exception - pg 2902 24.6.3
|
||||
* enable VM exit on MC and DB
|
||||
* enable VM exit on MC only
|
||||
*/
|
||||
value32 = (1 << IDT_MC) | (1u << IDT_DB);
|
||||
value32 = (1 << IDT_MC);
|
||||
exec_vmwrite(VMX_EXCEPTION_BITMAP, value32);
|
||||
|
||||
/* Set up page fault error code mask - second paragraph * pg 2902
|
||||
|
||||
Reference in New Issue
Block a user