Re: [libvirt] [PATCH 6/7] virsh: Fix a bug of nodedev-list

2012-09-06 Thread Eric Blake
On 09/06/2012 03:43 PM, Peter Krempa wrote: > On 09/05/12 07:34, Osier Yang wrote: >> output of commands like '%virsh nodedev-list --tree --cap pci' >> could be empty. The moment you introduce filtering, --tree output no longer makes sense (if a child has --cap pci but the parent does not, then yo

Re: [libvirt] [PATCH 6/7] virsh: Fix a bug of nodedev-list

2012-09-06 Thread Peter Krempa
On 09/05/12 07:34, Osier Yang wrote: output of commands like '%virsh nodedev-list --tree --cap pci' could be empty. Remove the useless checking. --- tools/virsh-nodedev.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/virsh-nodedev.c b/tools/virsh-nodedev.c

[libvirt] [PATCH 6/7] virsh: Fix a bug of nodedev-list

2012-09-04 Thread Osier Yang
output of commands like '%virsh nodedev-list --tree --cap pci' could be empty. Remove the useless checking. --- tools/virsh-nodedev.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/virsh-nodedev.c b/tools/virsh-nodedev.c index e784af1..cd88538 100644 --- a/tools