
17 Nov
2008
17 Nov
'08
1:25 p.m.
"Daniel P. Berrange" <berrange@redhat.com> wrote:
This patch adds two node virsh commands for the node device enumeration APIs. The only change here is to change the command names to have a shorter prefix, nodedev-list and nodedev-dumpxml
Daniel
diff -r 0136f215fc06 src/virsh.c ... + vshPrint(ctl, "%s\n", virNodeDeviceGetXMLDesc(device, 0));
For non-glibc, you can't print that if it's NULL. Also, shouldn't the returned XML be freed?