From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [Patch 3] thread/core siblings info for guests Date: Thu, 06 Nov 2008 15:20:42 +0200 Message-ID: <4912EF2A.5030402@redhat.com> References: <8EA2C2C4116BF44AB370468FBF85A7779B418DEF@orsmsx504.amr.corp.intel.com> <48E88C62.9030103@redhat.com> <1224283519.18637.23.camel@lnitindesktop.sc.intel.com> <48FAFE0B.5030209@redhat.com> <1225471648.1521.7.camel@lnitindesktop.sc.intel.com> <49106364.1070909@redhat.com> <1225825339.23171.25.camel@lnitindesktop.sc.intel.com> <49113F82.5050409@redhat.com> <1225931121.18973.11.camel@lnitindesktop.sc.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "Nakajima, Jun" , "kvm@vger.kernel.org" , "kraxel@redhat.com" , "chrisw@sous-sol.org" To: nitin.a.kamble@intel.com Return-path: Received: from mx2.redhat.com ([66.187.237.31]:35206 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753048AbYKFNUt (ORCPT ); Thu, 6 Nov 2008 08:20:49 -0500 In-Reply-To: <1225931121.18973.11.camel@lnitindesktop.sc.intel.com> Sender: kvm-owner@vger.kernel.org List-ID: Nitin A Kamble wrote: > Hi Avi, > This patch cover's the kernel ABI change as we discussed in the > earlier email. > > Patch Description: > > Change the ioctl KVM_GET_SUPPORTED_CPUID, such that it will return the > no of entries in the list when requested no of entries (nent) is 0. > > Also add another KVM_CHECK_EXTENSION, KVM_CAP_CPUID_SIZER to determine > if the running kernel supports the above changed ABI. > The capability itself can return the count; for example case KVM_CAP_NR_CPUID_LEAVES: return KVM_MAX_CPUID_ENTRIES; which is simpler to use and shorter. -- error compiling committee.c: too many arguments to function