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

Re: [Xen-devel] [PATCH 03/25] argo: introduce the argo_message_op hypercall boilerplate



On Tue, Dec 4, 2018 at 1:44 AM Paul Durrant <Paul.Durrant@xxxxxxxxxx> wrote:
>
> > -----Original Message-----
> > From: Christopher Clark [mailto:christopher.w.clark@xxxxxxxxx]
> > Sent: 01 December 2018 01:33
> > To: xen-devel@xxxxxxxxxxxxxxxxxxxx
> > Subject: [PATCH 03/25] argo: introduce the argo_message_op hypercall
> > boilerplate
> >
> > Presence is gated upon CONFIG_ARGO.
> >
> > Registers the hypercall previously reserved for this.
> > Takes 5 arguments, does nothing and returns -ENOSYS.
> >
> > Will be avoiding a compat ABI by using fixed-size types in hypercall ops.
>
> You appear to be using handles, so will you not need compat code to deal with 
> those?

No. The structures that the handles refer to are exactly the same on
both 32 and 64 bit, so the memory access operations that work with the
handle DTRT.

Communication has been tested and is working fine, eg. between a
client in a 32-bit guest and server in a 64-bit VM.

Christopher

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.