WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [RFC][PATCH] Emulate instructions in vm86 mode
From: Bastian Blank <bastian@xxxxxxxxxxxx>
Date: Thu, 7 Sep 2006 15:09:08 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 07 Sep 2006 06:10:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C125D22A.100A%Keir.Fraser@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20060907095104.GA23514@xxxxxxxxxxxxxxxxxxxxxxx> <C125D22A.100A%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.12-2006-07-14
On Thu, Sep 07, 2006 at 01:42:02PM +0100, Keir Fraser wrote:
> > I'm not sure if this is the correct fix or if we should call the gpf
> > handler of the running system. At least the support in linux reports
> > traps back to the userspace caller which is not possible if emulated in
> > xen.
> There are also data operands of some instructions that may need fixing
> (INS/OUTS). What happens if you just bail to the guest's GPF handler if in
> vm86 mode?

I don't know how to do that.

There is some code to pass it to the guest in do_general_protection, but
I don't know why it fails than.

Bastian

-- 
You're dead, Jim.
                -- McCoy, "Amok Time", stardate 3372.7

Attachment: signature.asc
Description: Digital signature

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