dom0/qvm-core: force HVM to be updateable

This commit is contained in:
Marek Marczykowski 2012-03-02 01:55:16 +01:00
parent afecabdc59
commit 4749792e70

View File

@ -2044,6 +2044,10 @@ class QubesHVm(QubesVm):
if "dir_path" not in kwargs or kwargs["dir_path"] is None:
kwargs["dir_path"] = qubes_appvms_dir + "/" + kwargs["name"]
# only updateable HVM supported
kwargs["updateable"] = True
kwargs["template_vm"] = None
super(QubesHVm, self).__init__(**kwargs)
self.updateable = True
self.config_file_template = config_template_hvm