On 02/12/2012 11:47 PM, Liu Yu-B13201 wrote:
quoted
-----Original Message-----
From: Wood Scott-B07421
Sent: Saturday, February 11, 2012 2:40 AM
To: Liu Yu-B13201
Cc: agraf@suse.de; kvm-ppc@vger.kernel.org; kvm@vger.kernel.org;
linuxppc-dev@ozlabs.org; Wood Scott-B07421
Subject: Re: [PATCH v3 1/3] KVM: PPC: epapr: Factor out the epapr init
Why are you still doing the patching inside kvm.c?
Do you mean we should move kvm_hypercall_start() into epapr bit?
Yes. This is an ePAPR mechanism; KVM just happens to be a user of it.
We should also update arch/powerpc/include/asm/epapr_hcalls.h to use
this mechanism.
-Scott