From: Paul Mackerras Date: Mon, 2 Jun 2014 01:03:00 +0000 (+1000) Subject: KVM: PPC: Book3S: Allow only implemented hcalls to be enabled or disabled X-Git-Tag: omap-for-v3.17/fixes-against-rc2~130^2~10^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae2113a4f1a6cd5a3cd3d75f394547922758e9ac;p=pandora-kernel.git KVM: PPC: Book3S: Allow only implemented hcalls to be enabled or disabled This adds code to check that when the KVM_CAP_PPC_ENABLE_HCALL capability is used to enable or disable in-kernel handling of an hcall, that the hcall is actually implemented by the kernel. If not an EINVAL error is returned. This also checks the default-enabled list of hcalls and prints a warning if any hcall there is not actually implemented. Signed-off-by: Paul Mackerras Signed-off-by: Alexander Graf --- Reading git-diff-tree failed