On Mon, Oct 21, 2019 at 8:43 AM Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote: > > On 17/10/19 03:25, Bill Wendling wrote: > > diff --git a/x86/realmode.c b/x86/realmode.c > > index 41b8592..f318910 100644 > > --- a/x86/realmode.c > > +++ b/x86/realmode.c > > @@ -520,7 +520,7 @@ static void test_call(void) > > u32 addr; > > > > inregs = (struct regs){ 0 }; > > - inregs.esp = (u32)esp; > > + inregs.esp = (u32)(esp+16); > > Applied with > > + inregs.esp = (u32)&esp[ARRAY_SIZE(esp)]; > > Paolo Would you mind doing the same for test_long_jmp?