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:stefa...@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 <observerc...@gmail.com> I see you resent the patch and it received attention the second time :). Stefan