From cb1fbfc1451091270134bc3616019d5d26cb578a Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Thu, 2 Jun 2011 00:07:22 +0200 Subject: [PATCH] dom0: store xid in QubesVm on get_xid() --- dom0/qvm-core/qubes.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dom0/qvm-core/qubes.py b/dom0/qvm-core/qubes.py index b9b16595..f4dcc43e 100755 --- a/dom0/qvm-core/qubes.py +++ b/dom0/qvm-core/qubes.py @@ -404,7 +404,8 @@ class QubesVm(object): dominfo = self.get_xc_dominfo() if dominfo: - return dominfo['domid'] + self.xid = dominfo['domid'] + return self.xid else: return -1