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