From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: [PATCH 10 of 11 v4] xl: add node-affinity to the output of `xl list` Date: Fri, 15 Mar 2013 04:03:52 +0100 Message-ID: <1363316632.3065.137.camel@Solace> References: <0197084457098065914d.1363314652@hit-nxdomain.opendns.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4619660669839363266==" Return-path: In-Reply-To: <0197084457098065914d.1363314652@hit-nxdomain.opendns.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: Xen-Devel Cc: Marcus Granado , Dan Magenheimer , Ian Campbell , Anil Madhavapeddy , George Dunlap , Andrew Cooper , Juergen Gross , Ian Jackson , Jan Beulich , Daniel De Graaf , Matt Wilson List-Id: xen-devel@lists.xenproject.org --===============4619660669839363266== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-O07q5/KleAYWs1jOIAiE" --=-O07q5/KleAYWs1jOIAiE Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On ven, 2013-03-15 at 03:30 +0100, Dario Faggioli wrote: > Node-affinity is now something that is under (some) control of the > user, so show it upon request as part of the output of `xl list' > by the `-n' option. >=20 > Re the patch, the print_bitmap() related hunk is _mostly_ code motion, > although there is a very minor change in the code, basically to allow > using the function for printing both cpu and node bitmaps (as, in case > all bits are sets, it used to print "any cpu", which doesn't fit the > nodemap case). >=20 For the records, this is how the output of various invocations of `xl list ...', with different set of parameters looks like after this change: root@Zhaman:~# xl list Name ID Mem VCPUs State Tim= e(s) Domain-0 0 375 16 r----- 2= 25.1 vm1 1 960 2 -b---- = 34.0 root@Zhaman:~# xl list -Z Name ID Mem VCPUs State Tim= e(s) Security Label Domain-0 0 375 16 r----- 2= 25.4 - vm1 1 960 2 -b---- = 34.0 - root@Zhaman:~# xl list -v Name ID Mem VCPUs State Tim= e(s) UUID Reason-Code Security Label Domain-0 0 375 16 r----- 2= 26.6 00000000-0000-0000-0000-000000000000 - - vm1 1 960 2 -b---- = 34.2 e36429cc-d2a2-4da7-b21d-b053f725e7a7 - - =20 root@Zhaman:~# xl list -n Name ID Mem VCPUs State Tim= e(s) NODE Affinity Domain-0 0 375 16 r----- 2= 26.8 any node vm1 1 960 2 -b---- = 34.2 0 root@Zhaman:~# xl list -nZ Name ID Mem VCPUs State Tim= e(s) Security Label NODE Affinity Domain-0 0 375 16 r----- 2= 26.9 - any node vm1 1 960 2 -b---- = 34.2 - 0 root@Zhaman:~# xl list -nv Name ID Mem VCPUs State Tim= e(s) UUID Reason-Code Security Label NODE Af= finity Domain-0 0 375 16 r----- 2= 27.0 00000000-0000-0000-0000-000000000000 - - any nod= e vm1 1 960 2 -b---- = 34.2 e36429cc-d2a2-4da7-b21d-b053f725e7a7 - - 0 (the same thing should be available here: http://pastebin.com/68kUuwyE ) Regards, Dario --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-O07q5/KleAYWs1jOIAiE 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) iEYEABECAAYFAlFCj5gACgkQk4XaBE3IOsQMgACfeEWdZGrpHyjTuhSAUlRZTk/X y9MAnjvBqmL+mRmkOGapL77o7sUtbVpm =2WXt -----END PGP SIGNATURE----- --=-O07q5/KleAYWs1jOIAiE-- --===============4619660669839363266== 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 --===============4619660669839363266==--