KVM: PPC: Avoid patching paravirt template code
authorLiu Yu-B13201 <Yu.Liu@freescale.com>
Thu, 1 Dec 2011 20:22:53 +0000 (20:22 +0000)
committerAvi Kivity <avi@redhat.com>
Mon, 5 Mar 2012 12:52:34 +0000 (14:52 +0200)
commitbefdc0a65afd17181392eff3d43c63407f266a9f
tree1adf9e1cbef1f5d555334de5ce2a9b71ae8dd490
parent570135243a33174a5d74641de693b6c0233d1181
KVM: PPC: Avoid patching paravirt template code

Currently we patch the whole code include paravirt template code.
This isn't safe for scratch area and has impact to performance.

Signed-off-by: Liu Yu <yu.liu@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kernel/kvm.c
arch/powerpc/kernel/kvm_emul.S