fixed vmexit for xsetbv and getsec
This commit is contained in:
parent
6aaf9297f8
commit
7a157cf88d
@ -3019,7 +3019,7 @@ BX_INSF_TYPE BX_CPP_AttrRegparmN(1) BX_CPU_C::GETSEC(bxInstruction_c *i)
|
|||||||
#if BX_SUPPORT_VMX
|
#if BX_SUPPORT_VMX
|
||||||
if (BX_CPU_THIS_PTR in_vmx_guest) {
|
if (BX_CPU_THIS_PTR in_vmx_guest) {
|
||||||
BX_ERROR(("VMEXIT: GETSEC in VMX non-root operation"));
|
BX_ERROR(("VMEXIT: GETSEC in VMX non-root operation"));
|
||||||
VMexit_Instruction(i, VMX_VMEXIT_GETSEC);
|
VMexit(i, VMX_VMEXIT_GETSEC, 0);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -390,7 +390,7 @@ BX_INSF_TYPE BX_CPP_AttrRegparmN(1) BX_CPU_C::XSETBV(bxInstruction_c *i)
|
|||||||
#if BX_SUPPORT_VMX
|
#if BX_SUPPORT_VMX
|
||||||
if (BX_CPU_THIS_PTR in_vmx_guest) {
|
if (BX_CPU_THIS_PTR in_vmx_guest) {
|
||||||
BX_ERROR(("VMEXIT: XSETBV in VMX non-root operation"));
|
BX_ERROR(("VMEXIT: XSETBV in VMX non-root operation"));
|
||||||
VMexit_Instruction(i, VMX_VMEXIT_XSETBV);
|
VMexit(i, VMX_VMEXIT_XSETBV, 0);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user