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:
parent
67ea5bc441
commit
54a06f3f46
@ -92,4 +92,10 @@ class QubesTemplateHVm(QubesHVm):
|
|||||||
raise QubesException("Cannot start HVM template while VMs based on it are running")
|
raise QubesException("Cannot start HVM template while VMs based on it are running")
|
||||||
return super(QubesTemplateHVm, self).start(*args, **kwargs)
|
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)
|
register_qubes_vm_class(QubesTemplateHVm)
|
||||||
|
Loading…
Reference in New Issue
Block a user