Re: [PATCH 10/14] KVM: PPC: Enable the PAPR CAP for Book3S

Avi Kivity
2011-08-31T08:39:31Z

On 08/31/2011 11:37 AM, Alexander Graf wrote:
> On 31.08.2011, at 10:31, Avi Kivity wrote:
>
> > On 08/25/2011 05:39 PM, Alexander Graf wrote:
> >> Now that Book3S PV mode can also run PAPR guests, we can add a PAPR cap and
> >> enable it for all Book3S targets. Enabling that CAP switches KVM into PAPR
> >> mode.
> >>
> >> #define KVM_CAP_PPC_RMA 65
> >> #define KVM_CAP_MAX_VCPUS 66 /* returns max vcpus per vm */
> >> #define KVM_CAP_PPC_HIOR 67
> >> +#define KVM_CAP_PPC_PAPR 68
> >>
> >> #ifdef KVM_CAP_IRQ_ROUTING
> >>
> >
> > Documentation/virtual/kvm/api.txt
>
> Yeah, we don't have a section for capabilities that don't have their own ioctls yet, so I didn't add it. I can create one if you like.
>

Please do.

--
error compiling committee.c: too many arguments to function