mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-28 20:16:09 +00:00
Unlike the other instructions we emulated, MOVS has two operands both are memory. So we need to check whether the operand is valid GVA. With VMX enabled, the src operand is always checked first by VMX. Which means if src operand is not valid GVA, it will trigger fault in guest before trigger EPT. So we don't need to check src operand. Only need to check dst operand here. Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>