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

Re: [Xen-devel] [Draft C] Boot ABI for HVM guests without a device-model



>>> On 07.09.15 at 11:34, <roger.pau@xxxxxxxxxx> wrote:
> So AFAICS we have 3 options:
> 
> 1. Overload VCPUOP_initialise like it's done in the current series (v6).
> For PV guests the hypercall parameter is of type vcpu_guest_context,
> while for HVM guests the parameter is of type vcpu_hvm_context.
> 
> 2. Create a new hypercall (VCPUOP_hvm_initialise) only available to HVM
> guests, that only allows vcpu_hvm_context as a parameter.
> 
> 3. Deprecate current VCPUOP_initialise, introduce a new
> VCPUOP_initialise, that takes the following parameter:
> 
> union vcpu_context {
>       struct vcpu_guest_context pv_ctx;
>       struct vcpu_hvm_context hvm_ctx;
> };
> 
> TBH, I don't have an opinion between 2 and 3, but I would like to get a
> consensus before I start implementing any of those.

Let me first take a look at how your implementation of 1 looks like.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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