KVM: nVMX: Consolidate nested MTF checks to helper function
linmiaohe
Reviewed-byQuoted 5 lines · Oliver Upton
commit
5ef8acbdd687("KVM: nVMX: Emulate MTF when performing instruction emulation") introduced a helper to check the MTF VM-execution control in vmcs12. Change pre-existing check innested_vmx_exit_reflected()to instead use the helper.Signed-off-by Oliver Upton <[email protected]>---
Reviewed-by Miaohe Lin <[email protected]>