From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44902) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cOqAN-0005vA-Vv for qemu-devel@nongnu.org; Wed, 04 Jan 2017 13:20:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cOqAK-0007Eg-Lo for qemu-devel@nongnu.org; Wed, 04 Jan 2017 13:20:04 -0500 Received: from indium.canonical.com ([91.189.90.7]:41538) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cOqAK-0007EZ-G1 for qemu-devel@nongnu.org; Wed, 04 Jan 2017 13:20:00 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1cOqAJ-0000t9-Dt for ; Wed, 04 Jan 2017 18:19:59 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 521592E80C3 for ; Wed, 4 Jan 2017 18:19:59 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Wed, 04 Jan 2017 18:02:40 -0000 From: Francois Gouget <1119686@bugs.launchpad.net> Reply-To: Bug 1119686 <1119686@bugs.launchpad.net> Sender: bounces@canonical.com References: <20130208193040.11551.94134.malonedeb@chaenomeles.canonical.com> Message-Id: <20170104180240.3244.69958.malone@gac.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1119686] Re: Incorrect handling of icebp List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Actually this got fixed by the following Linux kernel commit: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id= =3Dfd2a445a94d2ab6b39fb623dc02fee48d01a565a commit fd2a445a94d2ab6b39fb623dc02fee48d01a565a (patch) KVM: VMX: Advance rip to after an ICEBP instruction When entering an exception after an ICEBP, the saved instruction pointer should point to after the instruction. This fixes the bug here: https://bugs.launchpad.net/qemu/+bug/1119686 Signed-off-by: Huw Davies Reviewed-by: Jan Kiszka Signed-off-by: Marcelo Tosatti ** Changed in: qemu Status: Expired =3D> Fix Released -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1119686 Title: Incorrect handling of icebp Status in QEMU: Fix Released Bug description: Wine conformance suite tests the behavior of various low-level Windows API functions. One of the tests involves checking the interaction of breakpoints and exceptions, and in particular the 'icebp' breakpoint. This test works on a Windows XP machine running either on the metal or in VMware ESX but fails when run in QEmu. To reproduce the issue grab the attached 'exception.exe' file and run it. If you get 'Test failed' lines like below then it means the problem is still present: exception.c:202: exception 0: 80000004 flags:0 addr:003F0000 exception.c:208: Test failed: 0: Wrong exception address 003F0000/003= F0001 exception.c:214: this is the last test seen before the exception exception: unhandled exception 80000004 at 003F0000 exception.c:202: exception 0: c0000027 flags:2 addr:7C80E0B9 exception.c:205: Test failed: 0: Wrong exception code c0000027/800000= 04 exception.c:208: Test failed: 0: Wrong exception address 7C80E0B9/003= F0001 Note that this bug was not present in QEmu 1.1.2+dfsg-5 (Debian Testing) but is now present in 1.4.0~rc0+dfsg-1exp (Debian Experimental). To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1119686/+subscriptions