qubes: fix qid generation

This commit is contained in:
Wojtek Porczyk 2015-07-01 16:26:56 +02:00
parent 12092c3aa5
commit cb62545007

View File

@ -1301,7 +1301,7 @@ class Qubes(PropertyHolder):
'''
if qid is None:
qid = self.get_new_unused_qid()
qid = self.domains.get_new_unused_qid()
return self.domains.add(cls(self, None, qid=qid, **kwargs))