|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 10 of 11 v4] xl: add node-affinity to the output of `xl list`
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.
>
> 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).
>
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 Time(s)
Domain-0 0 375 16 r----- 225.1
vm1 1 960 2 -b---- 34.0
root@Zhaman:~# xl list -Z
Name ID Mem VCPUs State Time(s)
Security Label
Domain-0 0 375 16 r----- 225.4
-
vm1 1 960 2 -b---- 34.0
-
root@Zhaman:~# xl list -v
Name ID Mem VCPUs State Time(s)
UUID Reason-Code Security Label
Domain-0 0 375 16 r----- 226.6
00000000-0000-0000-0000-000000000000 - -
vm1 1 960 2 -b---- 34.2
e36429cc-d2a2-4da7-b21d-b053f725e7a7 - -
root@Zhaman:~# xl list -n
Name ID Mem VCPUs State Time(s)
NODE Affinity
Domain-0 0 375 16 r----- 226.8
any node
vm1 1 960 2 -b---- 34.2 0
root@Zhaman:~# xl list -nZ
Name ID Mem VCPUs State Time(s)
Security Label NODE Affinity
Domain-0 0 375 16 r----- 226.9
- any node
vm1 1 960 2 -b---- 34.2
- 0
root@Zhaman:~# xl list -nv
Name ID Mem VCPUs State Time(s)
UUID Reason-Code Security Label NODE Affinity
Domain-0 0 375 16 r----- 227.0
00000000-0000-0000-0000-000000000000 - - any node
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
--
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)
Attachment:
signature.asc _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |