When creating disposablevm object, pass non-None dirpath

QubesVm constructor does not like it.
This commit is contained in:
Rafal Wojtczuk 2011-03-23 13:26:39 +01:00
parent 0b208e8664
commit a1f8cd9071

View File

@ -1426,7 +1426,7 @@ class QubesDisposableVm(QubesVm):
template_vm = kwargs.pop("template_vm")
super(QubesDisposableVm, self).__init__(dir_path=None, **kwargs)
super(QubesDisposableVm, self).__init__(dir_path="/nonexistent", **kwargs)
qid = kwargs["qid"]
assert template_vm is not None, "Missing template_vm for DisposableVM!"