From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Graf Subject: Re: [PATCH 2/3] KVM: Allow KVM_CHECK_EXTENSION on the vm fd Date: Mon, 14 Jul 2014 19:16:50 +0200 Message-ID: <53C41082.4010503@suse.de> References: <1405357418-18125-1-git-send-email-agraf@suse.de> <1405357418-18125-3-git-send-email-agraf@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: kvm-ppc@vger.kernel.org Return-path: In-Reply-To: <1405357418-18125-3-git-send-email-agraf@suse.de> Sender: kvm-ppc-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 14.07.14 19:03, Alexander Graf wrote: > The KVM_CHECK_EXTENSION is only available on the kvm fd today. Unfortunately > on PPC some of the capabilities change depending on the way a VM was created. > > So instead we need a way to expose capabilities as VM ioctl, so that we can > see which VM type we're using (HV or PR). To enable this, add the > KVM_CHECK_EXTENSION ioctl to our vm ioctl portfolio. > > Signed-off-by: Alexander Graf Hrm, I guess this itself should also get a CAP :). Alex