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

2011-08-31 Thread Avi Kivity
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

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

2011-08-31 Thread Alexander Graf
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 >

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

2011-08-31 Thread Avi Kivity
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

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

2011-08-25 Thread Alexander Graf
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. Signed-off-by: Alexander Graf --- arch/powerpc/kvm/powerpc.c |5 + include/linux/kvm.h|1 + 2 files changed, 6 insertio