From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Graf Subject: Re: [PATCH 2/3] KVM: PPC: Book3S: Allow only implemented hcalls to be enabled or disabled Date: Wed, 28 May 2014 15:30:59 +0200 Message-ID: <5385E513.4070407@suse.de> References: <1401106626-13130-1-git-send-email-paulus@samba.org> <1401106626-13130-3-git-send-email-paulus@samba.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm-ppc@vger.kernel.org, kvm@vger.kernel.org To: Paul Mackerras Return-path: In-Reply-To: <1401106626-13130-3-git-send-email-paulus@samba.org> Sender: kvm-ppc-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 26.05.14 14:17, Paul Mackerras wrote: > 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. > > Signed-off-by: Paul Mackerras Please add this as sanity check to the default enabled list as well - in case we lose the ability to enable an in-kernel hcall later. Alex