From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH 10/18] KVM/MIPS32-VZ: Add API for VZ-ASE Capability Date: Tue, 28 May 2013 18:34:33 +0200 Message-ID: <51A4DC99.7040706@redhat.com> References: <1368942460-15577-1-git-send-email-sanjayl@kymasys.com> <1368942460-15577-11-git-send-email-sanjayl@kymasys.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, linux-mips@linux-mips.org, Ralf Baechle , Gleb Natapov , Marcelo Tosatti To: Sanjay Lal Return-path: Received: from mail-qe0-f44.google.com ([209.85.128.44]:52124 "EHLO mail-qe0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934692Ab3E1Qep (ORCPT ); Tue, 28 May 2013 12:34:45 -0400 Received: by mail-qe0-f44.google.com with SMTP id 6so4487757qeb.31 for ; Tue, 28 May 2013 09:34:45 -0700 (PDT) In-Reply-To: <1368942460-15577-11-git-send-email-sanjayl@kymasys.com> Sender: kvm-owner@vger.kernel.org List-ID: Il 19/05/2013 07:47, Sanjay Lal ha scritto: > - Add API to allow clients (QEMU etc.) to check whether the H/W > supports the MIPS VZ-ASE. Why does this matter to userspace? Do the userspace have some way to detect if the kernel is unmodified or minimally-modified? Paolo > Signed-off-by: Sanjay Lal > --- > include/uapi/linux/kvm.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h > index a5c86fc..5889e976 100644 > --- a/include/uapi/linux/kvm.h > +++ b/include/uapi/linux/kvm.h > @@ -666,6 +666,7 @@ struct kvm_ppc_smmu_info { > #define KVM_CAP_IRQ_MPIC 90 > #define KVM_CAP_PPC_RTAS 91 > #define KVM_CAP_IRQ_XICS 92 > +#define KVM_CAP_MIPS_VZ_ASE 93 > > #ifdef KVM_CAP_IRQ_ROUTING > >