No need to do this in two slightly different ways, possibly keeping the
compiler from folding the code for us.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
&& vector != TRAP_nmi
&& vector != TRAP_machine_check )
{
+ default:
perfc_incr(realmode_exits);
v->arch.hvm_vmx.vmx_emulate = 1;
HVMTRACE_0D(REALMODE_EMULATE);
case EXIT_REASON_INVEPT:
case EXIT_REASON_INVVPID:
break;
-
- default:
- v->arch.hvm_vmx.vmx_emulate = 1;
- perfc_incr(realmode_exits);
- HVMTRACE_0D(REALMODE_EMULATE);
- return;
}
}