Re: [RFC PATCH 06/11] kvm: powerpc: book3s: Add is_hv_enabled to kvmppc_ops

2013-09-30 Thread Alexander Graf
On 09/30/2013 06:20 PM, Aneesh Kumar K.V wrote: Alexander Graf writes: On 09/30/2013 02:56 PM, Aneesh Kumar K.V wrote: Alexander Graf writes: On 27.09.2013, at 15:03, Aneesh Kumar K.V wrote: Alexander Graf writes: diff --git a/arch/powerpc/kvm/book3s_segment.S b/arch/powerpc/kvm/b

Re: [RFC PATCH 06/11] kvm: powerpc: book3s: Add is_hv_enabled to kvmppc_ops

2013-09-30 Thread Aneesh Kumar K.V
Alexander Graf writes: > On 09/30/2013 02:56 PM, Aneesh Kumar K.V wrote: >> Alexander Graf writes: >> >>> On 27.09.2013, at 15:03, Aneesh Kumar K.V wrote: >>> Alexander Graf writes: >> diff --git a/arch/powerpc/kvm/book3s_segment.S >> b/arch/powerpc/kvm/book3s_segment.S

Re: [RFC PATCH 06/11] kvm: powerpc: book3s: Add is_hv_enabled to kvmppc_ops

2013-09-30 Thread Alexander Graf
On 09/30/2013 02:56 PM, Aneesh Kumar K.V wrote: Alexander Graf writes: On 27.09.2013, at 15:03, Aneesh Kumar K.V wrote: Alexander Graf writes: diff --git a/arch/powerpc/kvm/book3s_segment.S b/arch/powerpc/kvm/book3s_segment.S index 1abe478..e0229dd 100644 --- a/arch/powerpc/kvm/book3s_s

Re: [RFC PATCH 06/11] kvm: powerpc: book3s: Add is_hv_enabled to kvmppc_ops

2013-09-30 Thread Aneesh Kumar K.V
Alexander Graf writes: > On 27.09.2013, at 15:03, Aneesh Kumar K.V wrote: > >> Alexander Graf writes: >> >> diff --git a/arch/powerpc/kvm/book3s_segment.S b/arch/powerpc/kvm/book3s_segment.S index 1abe478..e0229dd 100644 --- a/arch/powerpc/kvm/book3s_segment.S +++ b/a

Re: [RFC PATCH 06/11] kvm: powerpc: book3s: Add is_hv_enabled to kvmppc_ops

2013-09-30 Thread Alexander Graf
On 27.09.2013, at 15:03, Aneesh Kumar K.V wrote: > Alexander Graf writes: > >> On 27.09.2013, at 12:03, Aneesh Kumar K.V wrote: >> >>> From: "Aneesh Kumar K.V" >>> >>> This help us to identify whether we are running with hypervisor mode KVM >>> enabled. The change is needed so that we can ha

Re: [RFC PATCH 06/11] kvm: powerpc: book3s: Add is_hv_enabled to kvmppc_ops

2013-09-27 Thread Aneesh Kumar K.V
Alexander Graf writes: > On 27.09.2013, at 12:03, Aneesh Kumar K.V wrote: > >> From: "Aneesh Kumar K.V" >> >> This help us to identify whether we are running with hypervisor mode KVM >> enabled. The change is needed so that we can have both HV and PR kvm >> enabled in the same kernel. >> >> If

Re: [RFC PATCH 06/11] kvm: powerpc: book3s: Add is_hv_enabled to kvmppc_ops

2013-09-27 Thread Alexander Graf
On 27.09.2013, at 12:03, Aneesh Kumar K.V wrote: > From: "Aneesh Kumar K.V" > > This help us to identify whether we are running with hypervisor mode KVM > enabled. The change is needed so that we can have both HV and PR kvm > enabled in the same kernel. > > If both HV and PR KVM are included,

[RFC PATCH 06/11] kvm: powerpc: book3s: Add is_hv_enabled to kvmppc_ops

2013-09-27 Thread Aneesh Kumar K.V
From: "Aneesh Kumar K.V" This help us to identify whether we are running with hypervisor mode KVM enabled. The change is needed so that we can have both HV and PR kvm enabled in the same kernel. If both HV and PR KVM are included, interrupts come in to the HV version of the kvmppc_interrupt code