From 54a06f3f46f9ad6badd1dc6a1da89c0fe9b7fcf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sun, 22 Feb 2015 03:53:51 +0100 Subject: [PATCH] core: add dummy QubesTemplateHVm.commit_changes It does nothing as root-cow.img isn't used by HVMs (yet), but this function is required by qvm-template-commit. --- core-modules/02QubesTemplateHVm.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core-modules/02QubesTemplateHVm.py b/core-modules/02QubesTemplateHVm.py index 7ced9206..eb5b309e 100644 --- a/core-modules/02QubesTemplateHVm.py +++ b/core-modules/02QubesTemplateHVm.py @@ -92,4 +92,10 @@ class QubesTemplateHVm(QubesHVm): raise QubesException("Cannot start HVM template while VMs based on it are running") return super(QubesTemplateHVm, self).start(*args, **kwargs) + def commit_changes (self, verbose = False): + self.log.debug('commit_changes()') + + # nothing to do as long as root-cow.img is unused + pass + register_qubes_vm_class(QubesTemplateHVm)