On Mon, Nov 08, 2010 at 02:34:29PM +0000, Daniel P. Berrange wrote: > The dominfo.py example script has a bogus check for /proc/xen > existing. The default connection cannot be assumed to be Xen > any more > > * examples/python/dominfo.py: Remove check for Xen > --- > examples/python/dominfo.py | 4 ---- > 1 files changed, 0 insertions(+), 4 deletions(-) > > diff --git a/examples/python/dominfo.py b/examples/python/dominfo.py > index e41709c..7b0b900 100755 > --- a/examples/python/dominfo.py > +++ b/examples/python/dominfo.py > @@ -27,10 +27,6 @@ def print_xml(key, ctx, path): > print_entry(key, value) > return value > > -if not os.access("/proc/xen", os.R_OK): > - print 'System is not running a Xen kernel' > - sys.exit(1) > - > if len(sys.argv) != 2: > usage() > sys.exit(2) > -- > 1.7.2.3 > > -- > libvir-list mailing list > libvir-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/libvir-list ACK. Dave -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list