From: "Jan Beulich" Subject: Re: [PATCH 2/2] test_x86_emulate: adjust CMPXCHG test Date: Fri, 01 May 2015 12:50:32 +0100 Message-ID: <5543769802000078000CE27E@mail.emea.novell.com> References: <20150429005300.GA11931@gnote> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20150429005300.GA11931@gnote> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: ekorenevsky@gmail.com Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org >>> Eugene Korenevsky 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