]> xenbits.xensource.com Git - xen.git/commit
xl: add node-affinity to the output of `xl list`
authorDario Faggioli <dario.faggioli@citrix.com>
Wed, 17 Apr 2013 10:57:37 +0000 (10:57 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 17 Apr 2013 11:11:15 +0000 (12:11 +0100)
commitd743a2230526f391cc0bad836082543bf4fedbaf
tree7f8bb9487e28aee6fc56cb3a07be6441b82ab345
parentd06b1bf169a01a9c7b0947d7825e58cb455a0ba5
xl: add node-affinity to the output of `xl list`

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.

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).

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Acked-by: Juergen Gross <juergen.gross@ts.fujitsu.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/xl_cmdimpl.c
tools/libxl/xl_cmdtable.c