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.
This commit is contained in:
Marek Marczykowski-Górecki 2015-02-22 03:53:51 +01:00
parent 67ea5bc441
commit 54a06f3f46

View File

@ -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)