Bug 538041

Summary: libguestfs tools (particularly virt-df) should ignore domains with ID 0
Product: [Community] Virtualization Tools Reporter: Richard W.M. Jones <rjones>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: berrange, mbooth, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-17 17:55:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Richard W.M. Jones 2009-11-17 11:51:12 UTC
Description of problem:

 Example using virt-df on Xen:

 # virt-df
 Domain-0 seems to have no disk devices

 (virt-df doesn't die, but the warning is annoying).

Version-Release number of selected component (if applicable):

 # virt-df --version
 1.0.76

How reproducible:

 When using Xen, always.

Additional info:

 libvirt has declared the special domain with ID 0 as the
 "control plane OS".  The only hypervisors which work like
 this are Xen and HyperV.  When we see a domain with ID 0
 we should get the libguestfs tools to ignore that domain.

Comment 1 Richard W.M. Jones 2009-11-17 14:06:15 UTC
*** Bug 538064 has been marked as a duplicate of this bug. ***