On Mon, Oct 14, 2019 at 5:52 PM Krish Sadhukhan <krish.sadhukhan@xxxxxxxxxx> wrote: > > Signed-off-by: Krish Sadhukhan <krish.sadhukhan@xxxxxxxxxx> > Reviewed-by: Karl Heubaum <karl.heubaum@xxxxxxxxxx> > --- > x86/vmx_tests.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/x86/vmx_tests.c b/x86/vmx_tests.c > index d68f0c0..759e24a 100644 > --- a/x86/vmx_tests.c > +++ b/x86/vmx_tests.c > @@ -5043,7 +5043,7 @@ static void guest_state_test_main(void) > static void advance_guest_state_test(void) > { > u32 reason = vmcs_read(EXI_REASON); > - if (! (reason & 0x80000000)) { > + if (! (reason & VMX_ENTRY_FAILURE)) { Nit: Drop the superfluous space while you're here? > u64 guest_rip = vmcs_read(GUEST_RIP); > u32 insn_len = vmcs_read(EXI_INST_LEN); > vmcs_write(GUEST_RIP, guest_rip + insn_len); > -- > 2.20.1 > Reviewed-by: Jim Mattson <jmattson@xxxxxxxxxx>