RE: [PATCH] KVM: PPC: booke: Added DECAR support

2012-05-15 Thread Bhushan Bharat-R65777
> -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Tuesday, May 15, 2012 7:59 PM > To: Bhushan Bharat-R65777 > Cc: kvm-ppc@vger.kernel.org; Bhushan Bharat-R65777 > Subject: Re: [PATCH] KVM: PPC: booke: Added DECAR support > > On 05/15/2012 09:33 AM, Bharat Bhushan

Re: [PATCH v2] KVM: PPC: Book3S HV: Make the guest hash table size configurable

2012-05-15 Thread Alexander Graf
On 05/04/2012 02:32 PM, Paul Mackerras wrote: This adds a new ioctl to enable userspace to control the size of the guest hashed page table (HPT) and to clear it out when resetting the guest. The KVM_PPC_ALLOCATE_HTAB ioctl is a VM ioctl and takes as its parameter a pointer to a u32 containing the

Re: [PATCH] KVM: PPC: Not optimizing MSR_CE and MSR_DE with paravirt.

2012-05-15 Thread Alexander Graf
On 05/15/2012 09:37 AM, Bharat Bhushan wrote: From: Bhushan Bharat-R65777 If there is pending critical or machine check interrupt then guest would like to capture it when guest enable MSR.CE and MSR_ME respectively. Also as mostly MSR_CE and MSR_ME are updated with rfi/rfci/rfmii which anyway tr

Re: [PATCH] KVM: PPC: booke: Added DECAR support

2012-05-15 Thread Alexander Graf
On 05/15/2012 09:33 AM, Bharat Bhushan wrote: Added the decrementer auto-reload support. Signed-off-by: Bharat Bhushan --- arch/powerpc/include/asm/kvm_host.h |2 ++ arch/powerpc/kvm/booke.c|5 + arch/powerpc/kvm/booke_emulate.c|7 ++- 3 files changed, 13

[PATCH] KVM: PPC: Not optimizing MSR_CE and MSR_DE with paravirt.

2012-05-15 Thread Bharat Bhushan
From: Bhushan Bharat-R65777 If there is pending critical or machine check interrupt then guest would like to capture it when guest enable MSR.CE and MSR_ME respectively. Also as mostly MSR_CE and MSR_ME are updated with rfi/rfci/rfmii which anyway traps so removing the the paravirt optimization f

RE: [PATCH 1/2] KVM: PPC: Not optimizing MSR_CE and MSR_DE with paravirt.

2012-05-15 Thread Bhushan Bharat-R65777
Please ignore this patch as this is having 1/2. This is only one patch. Will send after removing 1/2 Thanks -Bharat > -Original Message- > From: Bhushan Bharat-R65777 > Sent: Tuesday, May 15, 2012 1:05 PM > To: kvm-ppc@vger.kernel.org; ag...@suse.de > Cc: Bhushan Bharat-R65777; Bhushan B

[PATCH 1/2] KVM: PPC: Not optimizing MSR_CE and MSR_DE with paravirt.

2012-05-15 Thread Bharat Bhushan
From: Bhushan Bharat-R65777 If there is pending critical or machine check interrupt then guest would like to capture it when guest enable MSR.CE and MSR_ME respectively. Also as mostly MSR_CE and MSR_ME are updated with rfi/rfci/rfmii which anyway traps so removing the the paravirt optimization f

[PATCH] KVM: PPC: booke: Added DECAR support

2012-05-15 Thread Bharat Bhushan
Added the decrementer auto-reload support. Signed-off-by: Bharat Bhushan --- arch/powerpc/include/asm/kvm_host.h |2 ++ arch/powerpc/kvm/booke.c|5 + arch/powerpc/kvm/booke_emulate.c|7 ++- 3 files changed, 13 insertions(+), 1 deletions(-) diff --git a/arch/p