Re: [PATCH] KVM: PPC: Apply paravirt to all vcpu

2011-11-22 Thread Scott Wood
On 11/22/2011 03:45 PM, Yoder Stuart-B08248 wrote: > Hmm...not sure which approach makes sense. > > So to make sure I understand Scott's proposal the sequence would > be something like: > >-after secondaries CPUs are released from spin and can > determine they are running under KVM they:

RE: [PATCH] KVM: PPC: Apply paravirt to all vcpu

2011-11-22 Thread Yoder Stuart-B08248
> -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Tuesday, November 22, 2011 3:28 PM > To: Yoder Stuart-B08248 > Cc: Wood Scott-B07421; Liu Yu-B13201; > Subject: Re: [PATCH] KVM: PPC: Apply paravirt to all vcpu > > > On 22.11.2011, at 22:11, Yoder Stuart-B08248

Re: Current kernel fails to compile with KVM on PowerPC

2011-11-22 Thread Alexander Graf
On 22.11.2011, at 21:04, Jörg Sommer wrote: > Hi, > > Jörg Sommer hat am Mon 07. Nov, 20:48 (+0100) geschrieben: >> I'm trying to build the kernel with the git commit-id >> 31555213f03bca37d2c02e10946296052f4ecfcd, but it fails >> >> CHK include/linux/version.h >> HOSTCC scripts/mod/modp

Re: [PATCH] KVM: PPC: Apply paravirt to all vcpu

2011-11-22 Thread Alexander Graf
On 22.11.2011, at 22:11, Yoder Stuart-B08248 wrote: > > >> -Original Message- >> From: kvm-ppc-ow...@vger.kernel.org [mailto:kvm-ppc-ow...@vger.kernel.org] >> On Behalf Of >> Alexander Graf >> Sent: Tuesday, November 22, 2011 2:45 PM >> To: Wood Scott-B07421 >> Cc: Liu Yu-B13201; >> S

RE: [PATCH] KVM: PPC: Apply paravirt to all vcpu

2011-11-22 Thread Yoder Stuart-B08248
> -Original Message- > From: kvm-ppc-ow...@vger.kernel.org [mailto:kvm-ppc-ow...@vger.kernel.org] On > Behalf Of > Alexander Graf > Sent: Tuesday, November 22, 2011 2:45 PM > To: Wood Scott-B07421 > Cc: Liu Yu-B13201; > Subject: Re: [PATCH] KVM: PPC: Apply paravirt to all vcpu > > > O

Re: Current kernel fails to compile with KVM on PowerPC

2011-11-22 Thread Jörg Sommer
Hi, Jörg Sommer hat am Mon 07. Nov, 20:48 (+0100) geschrieben: > I'm trying to build the kernel with the git commit-id > 31555213f03bca37d2c02e10946296052f4ecfcd, but it fails > > CHK include/linux/version.h > HOSTCC scripts/mod/modpost.o > CHK include/generated/utsrelease.h > UP

Re: [PATCH] KVM: PPC: Apply paravirt to all vcpu

2011-11-22 Thread Alexander Graf
On 22.11.2011, at 19:36, Scott Wood wrote: > On 11/22/2011 05:27 AM, Alexander Graf wrote: >> >> >> >> >> On 22.11.2011, at 12:19, Liu Yu-B13201 wrote: >> >>> >>> -Original Message- From: Alexander Graf [mailto:ag...@suse.de] Sent: Tuesday, November 22, 2011 7:14

Re: [PATCH] KVM: PPC: Apply paravirt to all vcpu

2011-11-22 Thread Scott Wood
On 11/22/2011 05:27 AM, Alexander Graf wrote: > > > > > On 22.11.2011, at 12:19, Liu Yu-B13201 wrote: > >> >> >>> -Original Message- >>> From: Alexander Graf [mailto:ag...@suse.de] >>> Sent: Tuesday, November 22, 2011 7:14 PM >>> To: Liu Yu-B13201 >>> Cc: ; Liu Yu-B13201 >>> Subject:

Re: [PATCH] KVM: PPC: Apply paravirt to all vcpu

2011-11-22 Thread Alexander Graf
On 22.11.2011, at 12:19, Liu Yu-B13201 wrote: > > >> -Original Message- >> From: Alexander Graf [mailto:ag...@suse.de] >> Sent: Tuesday, November 22, 2011 7:14 PM >> To: Liu Yu-B13201 >> Cc: ; Liu Yu-B13201 >> Subject: Re: [PATCH] KVM: PPC: Apply paravirt to all vcpu >> >> >> On

[PATCH] KVM: PPC: Apply paravirt to all vcpu

2011-11-22 Thread Liu Yu
Previously, only primary vcpu get enabled paravirt. Signed-off-by: Liu Yu --- arch/powerpc/kvm/powerpc.c |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/kvm/powerpc.c b/arch/powerpc/kvm/powerpc.c index 73508e7..a727064 100644 --- a/arch/powerpc/kvm/p

RE: [PATCH] KVM: PPC: Apply paravirt to all vcpu

2011-11-22 Thread Liu Yu-B13201
> -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Tuesday, November 22, 2011 7:14 PM > To: Liu Yu-B13201 > Cc: ; Liu Yu-B13201 > Subject: Re: [PATCH] KVM: PPC: Apply paravirt to all vcpu > > > On 22.11.2011, at 10:55, Liu Yu wrote: > > > Previously, only pri

Re: [PATCH] KVM: PPC: Apply paravirt to all vcpu

2011-11-22 Thread Alexander Graf
On 22.11.2011, at 10:55, Liu Yu wrote: > Previously, only primary vcpu get enabled paravirt. Please fix it the other way around. Thd hypercall is CPU local and should stay that way, so we have to call it on each vcpu inside the guest. Alex > > Signed-off-by: Liu Yu > --- > arch/powerpc/kvm