From: Daniel P. Berrange Date: Mon, 8 Nov 2010 14:21:49 +0000 (+0000) Subject: Remove bogus check for Xen in example program X-Git-Tag: v0.8.6~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b3ede3f02c498c056acdaeafda6929b434f1c90;p=thirdparty%2Flibvirt.git Remove bogus check for Xen in example program 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 --- diff --git a/examples/python/dominfo.py b/examples/python/dominfo.py index 2f250e7383..033fe475a2 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)