KVM: PPC: Book3S: Allow only implemented hcalls to be enabled or disabled
authorPaul Mackerras <paulus@samba.org>
Mon, 2 Jun 2014 01:03:00 +0000 (11:03 +1000)
committerAlexander Graf <agraf@suse.de>
Mon, 28 Jul 2014 13:22:18 +0000 (15:22 +0200)
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 <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>

No differences found