From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54736) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wg9Sw-0008Oq-ST for qemu-devel@nongnu.org; Fri, 02 May 2014 05:09:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wg9Sr-0004Ub-2y for qemu-devel@nongnu.org; Fri, 02 May 2014 05:09:10 -0400 Received: from mail-we0-x22b.google.com ([2a00:1450:400c:c03::22b]:59948) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wg9Sq-0004UQ-TH for qemu-devel@nongnu.org; Fri, 02 May 2014 05:09:05 -0400 Received: by mail-we0-f171.google.com with SMTP id w62so3422151wes.30 for ; Fri, 02 May 2014 02:09:04 -0700 (PDT) Date: Fri, 2 May 2014 11:09:01 +0200 From: Stefan Hajnoczi Message-ID: <20140502090901.GE8005@stefanha-thinkpad.redhat.com> References: <535a981f.86a6e00a.7dc9.5f5cSMTPIN_ADDED_BROKEN@mx.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <535a981f.86a6e00a.7dc9.5f5cSMTPIN_ADDED_BROKEN@mx.google.com> Subject: Re: [Qemu-devel] [PATCH] improve emulation correctness List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: poletaev Cc: qemu-devel@nongnu.org On Thu, Apr 24, 2014 at 12:35:24PM +0400, poletaev wrote: > There is a set of test, that checks QEMU CPU for similar behavior with real > hardware (http://roberto.greyhats.it/projects/pills.html). Test > reg/pill2579.c can detect, that program is execute in emulated environment. > It is related with behavior of rcl instruction. If the number of shifted > bits more than 1, OF of eflags become undefined. Real CPUs does not change > OF, if it is undefined. QEMU do it anyway. > > Emulated program can execute that test and after that can understand > environment not real. > > > > Signed-off-by: Dmitry Poletaev I see you resent the patch and it received attention the second time :). Stefan