From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: I want to add a Xen driver and it doesn't look completely trivial given the current driver architecture - any advice? Date: Wed, 29 May 2013 17:55:09 +0200 Message-ID: <1369842909.3183.12.camel@Solace> References: <20130515141546.GJ15529@phenom.dumpdata.com> <1369389338.17830.152.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6838094732434709905==" Return-path: In-Reply-To: <1369389338.17830.152.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: xen-devel@lists.xen.org, Konrad Rzeszutek Wilk , Pankaj Biswas List-Id: xen-devel@lists.xenproject.org --===============6838094732434709905== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-7Gd1jVH9gm+PWHix+HpJ" --=-7Gd1jVH9gm+PWHix+HpJ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On ven, 2013-05-24 at 10:55 +0100, Ian Campbell wrote: > On Fri, 2013-05-24 at 15:21 +0530, Pankaj Biswas wrote: >=20 > Please don't top-post and please don't post HTML emails to the list, > plain text only please. >=20 > > A good first task might be to write a "Xen driver" which can work out > > it is on Xen and use the topology hypercalls to gain the same > > information. >=20 > You can use libxenctrl to make the Xen topology hypercalls. You do not > need a special driver. >=20 Indeed, and that is available on top of libxl too (in case it is easier to use). Just look at output_topologyinfo() and output_numainfo() in tools/libxl/xl_cmdimpl.c . This might not be the complete set of information you need, but that's all we have for now. Let us/me know whether there is something that you think is missing, and we'll see whether and how to put it together. :-) > > So trying and geting hwloc working under Xen will solve this purpose. > > Can you please guide me here? >=20 > I have no idea what hwloc requires. >=20 Me neither, sorry. :-( Dario --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-7Gd1jVH9gm+PWHix+HpJ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) iEYEABECAAYFAlGmJN0ACgkQk4XaBE3IOsTASQCePcXLa/6angyRejZKLKR4rGtY D1MAn1XieMiyBbLUQOOYCdf2PHjgtJXz =Nxzk -----END PGP SIGNATURE----- --=-7Gd1jVH9gm+PWHix+HpJ-- --===============6838094732434709905== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============6838094732434709905==--