qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Francois Gouget <1119686@bugs.launchpad.net>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [Bug 1119686] Re: Incorrect handling of icebp
Date: Wed, 04 Jan 2017 18:02:40 -0000	[thread overview]
Message-ID: <20170104180240.3244.69958.malone@gac.canonical.com> (raw)
In-Reply-To: 20130208193040.11551.94134.malonedeb@chaenomeles.canonical.com

Actually this got fixed by the following Linux kernel commit:

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=fd2a445a94d2ab6b39fb623dc02fee48d01a565a

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 <huw@codeweavers.com>
Reviewed-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>


** Changed in: qemu
       Status: Expired => 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/003F0001
      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/80000004
      exception.c:208: Test failed: 0: Wrong exception address 7C80E0B9/003F0001

  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

      parent reply	other threads:[~2017-01-04 18:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20130208193040.11551.94134.malonedeb@chaenomeles.canonical.com>
2013-10-28 12:50 ` [Qemu-devel] [Bug 1119686] Re: Incorrect handling of icebp Francois Gouget
2014-03-19  3:51 ` Francois Gouget
2016-11-04 13:56 ` Thomas Huth
2017-01-04  4:17 ` Launchpad Bug Tracker
2017-01-04 18:02 ` Francois Gouget [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170104180240.3244.69958.malone@gac.canonical.com \
    --to=1119686@bugs.launchpad.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).