virt-df: Ignore domains which have ID 0.
authorRichard Jones <rjones@redhat.com>
Tue, 17 Nov 2009 14:21:54 +0000 (14:21 +0000)
committerRichard Jones <rjones@redhat.com>
Tue, 17 Nov 2009 14:21:54 +0000 (14:21 +0000)
commitdda10cd9357169d5c55d9d49e270a6202971b8c0
tree469f6d38cbe001c70615a852566f957d3af60c00
parent9004f3c5302fbb70212ccc420b863c9a3ca75abf
virt-df: Ignore domains which have ID 0.

This is the remainder of the fix for RHBZ#538041.  Domains
which have ID 0 are special domains.  libvirt defines it as
the "control plane OS".  Only Xen and HyperV have this
behaviour, and in both cases we should ignore those domains
for the purposes of virt-df (user can just run "df" if they
need that information for the dom0).
tools/virt-df