From: Alexander Graf Date: Thu, 15 Apr 2010 22:11:57 +0000 (+0200) Subject: KVM: PPC: Add KVM intercept handlers X-Git-Tag: v2.6.35-rc1~436^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd84c21748d9280f210565429b1bdb9b6353e8d2;p=pandora-kernel.git KVM: PPC: Add KVM intercept handlers When an interrupt occurs we don't know yet if we're in guest context or in host context. When in guest context, KVM needs to handle it. So let's pull the same trick we did on Book3S_64: Just add a macro to determine if we're in guest context or not and if so jump on to KVM code. CC: Benjamin Herrenschmidt Signed-off-by: Alexander Graf Acked-by: Benjamin Herrenschmidt Signed-off-by: Avi Kivity --- Reading git-diff-tree failed