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

Alexander Graf
2011-08-31T08:37:45Z

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.

Alex