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

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



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 cn fujitsu com>
---
     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


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