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

Re: [Xen-devel] [RFC][PATCH] Emulate instructions in vm86 mode



On Fri, Sep 08, 2006 at 09:37:44PM +0200, Bastian Blank wrote:
> On Thu, Sep 07, 2006 at 06:17:58PM +0100, Keir Fraser wrote:
> > The trap bounce code clears fs and gs too, just as native hardware does on
> > an exception while in vm86 mode. The real values are saved on the exception
> > stack frame (hopefully!).
> Hmm, the code write 0 for this values to the exception frame in VM86
> mode, lets check if this is the problem.

It seems that this is the problem.

The following patch always bounces traps in vm86 mode to the guest
kernel and don't longer clears the segment register values in the
exception frame.

Signed-off-by: Bastian Blank <waldi@xxxxxxxxxx>

Bastian

-- 
The sooner our happiness together begins, the longer it will last.
                -- Miramanee, "The Paradise Syndrome", stardate 4842.6

Attachment: diff
Description: Text document

Attachment: signature.asc
Description: Digital signature

_______________________________________________
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®.