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/
Home Products Support Community News


Re: [Xen-devel] [RFC][PATCH] Hypercalls from HVM guests (1/2)

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [RFC][PATCH] Hypercalls from HVM guests (1/2)
From: Steve Ofsthun <sofsthun@xxxxxxxxxxxxxxx>
Date: Thu, 13 Apr 2006 09:25:09 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 13 Apr 2006 06:25:32 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <c23fd6830877a615d575c88b4606a340@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: <443D4997.8010302@xxxxxxxxxxxxxxx> <c23fd6830877a615d575c88b4606a340@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050715)
Keir Fraser wrote:

On 12 Apr 2006, at 19:40, Steve Ofsthun wrote:

Here is the main hypervisor/hvmloader patch.

Signed-off-by: Steve Ofsthun <sofsthun@xxxxxxxxxxxxxxx>

All in-memory hypercall arguments are now accessed via copy_to/from_guest and copy_to/from_user are no longer used for that purpose at all. That given, can the special path for HVM guests be made in copy_to/from_guest (no need to make conditional on hypervisor_va()) and not touch copy_to/from_user?

Yes, that sounds right.  I'll put together an updated patch.

Steve Ofsthun - Virtual Iron Software, Inc.

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>