Re: [PATCH] tool/virsh-domain.c: Fix the display of Affinity in function cmdVcpuinfo.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/27/13 05:20, yangdongsheng wrote:
(1).Introduce a symbol 'x' to mean the physical cpu on host is offline.
(2).And the symbol '-' means the physical cpu on host is online but the
affinity of domain for this cpu is not set.

There was no diffrence in display between the two kinds of cpu state
before this patch, both are '-'.

Signed-off-by: yangdongsheng <yangds.fnst@xxxxxxxxxxxxxx>
---
     I have removed the vshNodeGetCPUMap patch from this patchset.
     So this patch will only fix the display of virsh vcpuinfo, please
give me your comment. Thanx~

  tools/virsh-domain.c |   24 +++++++++++++++++++++---
  1 file changed, 21 insertions(+), 3 deletions(-)


Although this kind of information might be useful we can't change the default output of virsh commands as we wish or we might break scripted usage (I don't really think this would happen in this case though.)

Please re-send with adding a flag for the vcpuinfo command that will turn on the output as you've posted in this patch.

Peter

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]