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


[Xen-devel] Re: [PATCH] Linux: 6 arguments hypercall v3

To: Jean Guyader <jean.guyader@xxxxxxxxxxxxx>
Subject: [Xen-devel] Re: [PATCH] Linux: 6 arguments hypercall v3
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Fri, 24 Jun 2011 15:43:18 -0700
Cc: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Jean Guyader <Jean.Guyader@xxxxxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Delivery-date: Fri, 24 Jun 2011 19:05:45 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110624221513.GA8916@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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20110624151324.GB356@xxxxxxxxxxxxxxxxxxxxxxx> <4E04C8AA.2040506@xxxxxxxx> <20110624221513.GA8916@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110428 Fedora/3.1.10-1.fc15 Lightning/1.0b3pre Thunderbird/3.1.10
On 06/24/2011 03:15 PM, Jean Guyader wrote:
> I only tested it gcc 4.4.
> We could still use the v2 which is not as nice, but it doesn't try to
> load eax twice. Let me know which one you will feel better about.

I feel best about the one you've successfully tested with a number of
older compilers ;)

>> What hypercalls have 6 args?
> I'm planning on upstream v4v which is a inter vm memory transport
> based on hypervisor memcpy. The send hypercall takes 6 arguments.

Does it have to?  Couldn't it take a pointer to a struct or something?


Xen-devel mailing list