From a1f8cd907180c11713b1a066159c79019d6a6852 Mon Sep 17 00:00:00 2001 From: Rafal Wojtczuk Date: Wed, 23 Mar 2011 13:26:39 +0100 Subject: [PATCH] When creating disposablevm object, pass non-None dirpath QubesVm constructor does not like it. --- dom0/qvm-core/qubes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom0/qvm-core/qubes.py b/dom0/qvm-core/qubes.py index 1a596021..8d5d3eeb 100755 --- a/dom0/qvm-core/qubes.py +++ b/dom0/qvm-core/qubes.py @@ -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!"