>>> On 06.11.18 at 15:09, <andrew.coop...@citrix.com> wrote: > --- a/xen/arch/x86/x86_emulate/x86_emulate.c > +++ b/xen/arch/x86/x86_emulate/x86_emulate.c > @@ -4061,6 +4061,12 @@ x86_emulate( > } > } > dst.val &= EFLAGS_MODIFIABLE; > + > + /* When IF transitions from 0 to 1, assert the STI shadow. */ > + if ( !(_regs.eflags & X86_EFLAGS_IF) && > + ((dst.val & ~mask) & X86_EFLAGS_IF) ) > + ctxt->retire.sti = true;
I'm entirely unaware that POPF behaves the same way as STI in this regard. Therefore: Are you sure? Can you point me to where this is spelled out? Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel