dom0: store xid in QubesVm on get_xid()

This commit is contained in:
Marek Marczykowski 2011-06-02 00:07:22 +02:00
parent c789121f84
commit cb1fbfc145

View File

@ -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