dom0: remove import of old xend libraries

This commit is contained in:
Marek Marczykowski 2011-06-05 22:58:20 +02:00
parent 48d520f847
commit 9ce2f440c3

View File

@ -41,11 +41,6 @@ dry_run = False
if not dry_run: if not dry_run:
# Xen API
import xmlrpclib
from xen.xm import XenAPI
from xen.xend import sxp
import xen.lowlevel.xc import xen.lowlevel.xc
import xen.lowlevel.xl import xen.lowlevel.xl
import xen.lowlevel.xs import xen.lowlevel.xs
@ -888,7 +883,7 @@ class QubesVm(object):
try: try:
subprocess.check_call(xl_cmdline) subprocess.check_call(xl_cmdline)
except XenAPI.Failure: except:
raise QubesException("Failed to load VM config") raise QubesException("Failed to load VM config")
finally: finally:
qmemman_client.close() # let qmemman_daemon resume balancing qmemman_client.close() # let qmemman_daemon resume balancing