[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 2/2] test_x86_emulate: adjust CMPXCHG test



>>> Eugene Korenevsky <ekorenevsky@xxxxxxxxx> 04/28/15 11:54 PM >>>
>--- a/tools/tests/x86_emulator/test_x86_emulator.c
>+++ b/tools/tests/x86_emulator/test_x86_emulator.c
>@@ -288,7 +288,7 @@ int main(int argc, char **argv)
>rc = x86_emulate(&ctxt, &emulops);
>if ( (rc != X86EMUL_OKAY) || 
>(*res != 0x923456AA) || 
>-         ((regs.eflags&0x240) != 0x200) ||
>+         ((regs.eflags&0x8d5) != 0x891) ||

While not a big problem, without saying so in the commit message the
checking that IF didn't accidentally get cleared shouldn't be removed. I'll
try to remember to fix this up before committing.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.