qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] FPU x86 instructions error
@ 2013-05-24 21:39 Clemens Kolbitsch
  2013-05-24 21:44 ` Paolo Bonzini
  2013-05-27  1:17 ` TeLeMan
  0 siblings, 2 replies; 5+ messages in thread
From: Clemens Kolbitsch @ 2013-05-24 21:39 UTC (permalink / raw)
  To: qemu-devel@nongnu.org

Hi guys,

we recently had an issue with running a program using FPU instructions
to obtain the current EIP (basically a weird way of "call 0; pop eax")
that was not working on QEMU (with TCG).

Looking at the problem, we found this patch to be useful/fixing the issue:

https://launchpadlibrarian.net/140457932/patch-qemu-1.5.0-fpip.diff

Looking through the DEVEL archives, I found this patch

http://lists.nongnu.org/archive/html/qemu-devel/2011-06/msg01206.html

that adds the FPU flags to the environment, but is only using them for KVM.

I was wondering - since the above patch is rather old, you have
probably come across it before - if there was a reason for not
including it in QEMU (I checked in git:master and it's not applied).
If there isn't, maybe it'd be worth re-considering :)

thanks!
-Clemens


--
Clemens Kolbitsch
Security Researcher
kolbitsch@lastline.com

Lastline, Inc.
6950 Hollister Avenue, Suite 101
Goleta, CA 93117

www.lastline.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-05-27  1:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-24 21:39 [Qemu-devel] FPU x86 instructions error Clemens Kolbitsch
2013-05-24 21:44 ` Paolo Bonzini
2013-05-26 14:54   ` Andreas Färber
2013-05-27  0:08     ` Clemens Kolbitsch
2013-05-27  1:17 ` TeLeMan

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).