From: Nitin A Kamble Subject: Re: thread/core siblings info for guests Date: Mon, 20 Oct 2008 11:37:01 -0700 Message-ID: <1224527821.15135.4.camel@lnitindesktop.sc.intel.com> References: <8EA2C2C4116BF44AB370468FBF85A7779B418DEF@orsmsx504.amr.corp.intel.com> <48E88C62.9030103@redhat.com> <1224283519.18637.23.camel@lnitindesktop.sc.intel.com> <48FAFE0B.5030209@redhat.com> Reply-To: nitin.a.kamble@intel.com Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-Mgw1c+keuxCwTZIVpA8B" Cc: "kvm@vger.kernel.org" , "kraxel@redhat.com" , "chrisw@sous-sol.org" To: Avi Kivity Return-path: Received: from mga09.intel.com ([134.134.136.24]:46991 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751715AbYJTShC (ORCPT ); Mon, 20 Oct 2008 14:37:02 -0400 In-Reply-To: <48FAFE0B.5030209@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: --=-Mgw1c+keuxCwTZIVpA8B Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Avi, I do find that ioctl in the kvm kernel module code. and the qemu code can do the ioctl to get the cpuinfo bits. But seems like nobody is using this ioctl yet. What was the purpose of this code?=20 On Sun, 2008-10-19 at 02:29 -0700, Avi Kivity wrote: > There is already a kernel function for this (KVM_GET_SUPPORTED_CPUID, > IIRC) that does this. It has the advantage of knowing which bits the > kernel supports, so there's no need to keep the kernel and userspace at > the same version. >=20 > -- > error compiling committee.c: too many arguments to function >=20 --=20 Thanks & Regards, Nitin Open Source Technology Center, Intel Corporation ----------------------------------------------------------------- The mind is like a parachute; it works much better when it's open --=-Mgw1c+keuxCwTZIVpA8B Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQBI/M/FEA5Hv97Fde4RAnBrAKCNCU7Y2UM60/OS4NLMSU9grS1pkwCeNDgs 2sXrJMjT0irkBAjHxSzx9+I= =g6pN -----END PGP SIGNATURE----- --=-Mgw1c+keuxCwTZIVpA8B--