dom0/qvm-core: add missing get_xid

This commit is contained in:
Marek Marczykowski 2012-02-26 00:58:05 +01:00
parent 3ad50b58e7
commit 80e2afa97b

View File

@ -1163,6 +1163,7 @@ class QubesVm(object):
def start_qrexec_daemon(self, verbose = False): def start_qrexec_daemon(self, verbose = False):
if verbose: if verbose:
print >> sys.stderr, "--> Starting the qrexec daemon..." print >> sys.stderr, "--> Starting the qrexec daemon..."
xid = self.get_xid()
retcode = subprocess.call ([qrexec_daemon_path, str(xid)]) retcode = subprocess.call ([qrexec_daemon_path, str(xid)])
if (retcode != 0) : if (retcode != 0) :
self.force_shutdown() self.force_shutdown()