From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: [PATCH RFC v2 1/7] xen/vNUMA: vNUMA support for PV guests. Date: Thu, 3 Oct 2013 17:17:22 +0200 Message-ID: <1380813442.14853.10.camel@Solace> References: <1379062190-13720-1-git-send-email-ufimtseva@gmail.com> <52381B4C02000078000F3DD5@nat28.tlf.novell.com> <1379401878.32441.42.camel@Abyss> <1379408684.32441.82.camel@Abyss> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0043906285840030974==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Li Yechen Cc: Keir Fraser , Elena Ufimtseva , Stefano Stabellini , George Dunlap , Matt Wilson , "xen-devel@lists.xen.org" , Jan Beulich List-Id: xen-devel@lists.xenproject.org --===============0043906285840030974== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-PurSdb+5xywFGAvfn1+e" --=-PurSdb+5xywFGAvfn1+e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On gio, 2013-10-03 at 20:27 +0800, Li Yechen wrote: > Hi Elena,=20 > Thank you for your great work first :) >=20 > In your patch, guest can use a hypercall name: "XENMEM_get_vnuma_info" > to get the structure below: > +struct vnuma_topology_info { > + domid_t domid; > + uint16_t nr_vnodes; > + uint32_t _pad; > + XEN_GUEST_HANDLE_64(uint) vdistance; > + XEN_GUEST_HANDLE_64(uint) vcpu_to_vnode; > + XEN_GUEST_HANDLE_64(vnuma_ > memblk_t) vnuma_memblks; > +}; >=20 >=20 > I see that Xen have save a vnode_to_pnode[] array for mapping >=20 Yes it does. We spoke about it quite a bit, and Xen seems to be the best place where to store such info, considering how easy it is to keep it there, and that it may turn out useful in future (and ballooning is a lcear example of that). > However, this hypercall won't give this mapping to Guest VM. >=20 Not with this hypercall, no. Actually, did most of the people, when reviewing your RFC patches, said that they prefer the mapping not exposed at all to the guest? Dario --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-PurSdb+5xywFGAvfn1+e 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.14 (GNU/Linux) iEYEABECAAYFAlJNioIACgkQk4XaBE3IOsT2SwCgoBsFOLTv1Cgz353CZGrUKK5s dmEAoJH6dUG4AF5HCOO6tTVT6kRjJJ4s =s3TD -----END PGP SIGNATURE----- --=-PurSdb+5xywFGAvfn1+e-- --===============0043906285840030974== 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 --===============0043906285840030974==--