[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] guest state on realmode emulation failure


  • To: Jan Beulich <jbeulich@xxxxxxxxxx>
  • From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
  • Date: Mon, 17 Nov 2008 15:58:31 +0000
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 17 Nov 2008 07:59:03 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AclIzVZKlJbzFLTAEd24fAAX8io7RQ==
  • Thread-topic: [Xen-devel] guest state on realmode emulation failure

On 17/11/08 15:55, "Jan Beulich" <jbeulich@xxxxxxxxxx> wrote:

>>> As a secondary thing, I can't really see how emulation of a real-mode far
>>> return could ever fail with the register state given.
>> 
>> Have you tested with xen-unstable changeset 18766?
> 
> Not yet, but shouldn't that affect things only when 'mis-'using real mode
> (e.g. by leaving a 32-bit default operand size set)?

No, realmode_deliver_exception() was testing a potentially uninitialised
field. It's a nasty little bug that thus occasionally, whether real mode is
abused or not, causes you to write through ESP rather than SP.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.