xm: Improve xm error if booted native

Signed-off-by: Jim Fehlig <jfehlig@novell.com>
This commit is contained in:
Keir Fraser committed 2009-02-04 11:58:25 +00:00
1 parent 2450e3575f
commit b526733e2f
1 file changed
+5 -1
+5 -1
View File
@@ -59,7 +59,11 @@ from xen.util.acmpolicy import ACM_LABEL_UNLABELED_DISPLAY
import XenAPI
import xen.lowlevel.xc
xc = xen.lowlevel.xc.xc()
try:
xc = xen.lowlevel.xc.xc()
except Exception, ex:
print >>sys.stderr, ("Is xen kernel running?")
sys.exit(1)
import inspect
from xen.xend import XendOptions
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.