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: Jan Beulich <jbeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] [RFC][PATCH] Emulate instructions in vm86 mode
From: Bastian Blank <bastian@xxxxxxxxxxxx>
Date: Fri, 8 Sep 2006 21:33:38 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 08 Sep 2006 12:34:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4501AFB90200007800021565@xxxxxxxxxxxxxxxxxxxxxxx>
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: <4501AFB90200007800021565@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.12-2006-07-14
On Fri, Sep 08, 2006 at 06:00:25PM +0100, Jan Beulich wrote:
> If the vm86 code isn't running with an i/o bitmap permitting access (which
> supposedly libint10 doesn't do), all i/o related faults should alread be
> reflected back to the guest, shouldn't they? If otoh there was permission
> granted from the kernel, then we shouldn't assume that code is prepared
> to deal with gp faults from respective port accesses.

Yes, but it does weird things, so I think there is something broken.

> However, the original patch would, if to be integrated, in my opinion need
> quite a bit of additional work - it should honor non-zero segment bases
> generally, and it should do proper limit checking for non-flat segments.

Isn't this already done by copy_from_user?

Bastian

-- 
Ahead warp factor one, Mr. Sulu.

Attachment: signature.asc
Description: Digital signature

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