From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54383) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WheIj-0005ZP-NC for qemu-devel@nongnu.org; Tue, 06 May 2014 08:16:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WheIe-0005KD-6j for qemu-devel@nongnu.org; Tue, 06 May 2014 08:16:49 -0400 Received: from mail.ispras.ru ([83.149.199.45]:56311) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WheIe-0005Jy-0E for qemu-devel@nongnu.org; Tue, 06 May 2014 08:16:44 -0400 From: "poletaev" References: <535a981f.86a6e00a.7dc9.5f5cSMTPIN_ADDED_BROKEN@mx.google.com> <20140502090901.GE8005@stefanha-thinkpad.redhat.com> In-Reply-To: <20140502090901.GE8005@stefanha-thinkpad.redhat.com> Date: Tue, 6 May 2014 16:16:38 +0400 Message-ID: <000301cf6925$09817820$1c846860$@Poletaev@ispras.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Language: ru Subject: Re: [Qemu-devel] [PATCH] improve emulation correctness List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: 'Stefan Hajnoczi' Cc: qemu-devel@nongnu.org Thank you for attention :) This patch not needed, according to QEMU dev policy, and so I will not sent it any more. I found another defect, and it not related with undefined flags. -----Original Message----- From: Stefan Hajnoczi [mailto:stefanha@gmail.com] Sent: Friday, May 02, 2014 1:09 PM To: poletaev Cc: qemu-devel@nongnu.org Subject: Re: [Qemu-devel] [PATCH] improve emulation correctness 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