According to the Intel GHCI specification document section 2.4.1, the
goal for instructions that do not have a corresponding TDCALL is for the
handler to treat the instruction as a NOP.
INVD does not have a corresponding TDCALL. This patch makes the #VE
handler treat INVD as a NOP.
Signed-off-by: Ryan Afranji <afranji@google.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
case EXIT_REASON_MONITOR_INSTRUCTION:\r
case EXIT_REASON_WBINVD:\r
case EXIT_REASON_RDPMC:\r
+ case EXIT_REASON_INVD:\r
/* Handle as nops. */\r
break;\r
\r