[PATCH 0/2] virsh: freecell --all getting wrong NUMA nodes count

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

 



This is fix for virsh freecell command. I was using virNodeGetInfo()
instead of virConnectGetCapabilities() which returns XML with the right
number. Therefore we need XML/XPath function to pick node values from XML
kept in buffer. Moreover, this function might be used to replace bad
practise in cmdVcpucount().

Michal Privoznik (2):
  virsh.c: new xPathULong() to parse XML returning ulong value of
    selected node.
  virsh: fix wrong NUMA nodes count getting

 tools/virsh.c |   76 ++++++++++++++++++++++++++++++++++++++++++++++++--------
 1 files changed, 65 insertions(+), 11 deletions(-)

-- 
1.7.3.5

--
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]