dom0: remove import of old xend libraries
This commit is contained in:
parent
48d520f847
commit
9ce2f440c3
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user