dom0/core: fix clone of HVM (#17)

This commit is contained in:
Marek Marczykowski 2012-03-26 11:33:30 +02:00
parent a775e60c41
commit 1465b8f104

View File

@ -2163,6 +2163,14 @@ class QubesHVm(QubesVm):
def is_appvm(self):
return True
def get_clone_attrs(self):
attrs = super(QubesHVm, self).get_clone_attrs()
attrs.remove('kernel')
attrs.remove('uses_default_kernel')
attrs.remove('kernelopts')
attrs.remove('uses_default_kernelopts')
return attrs
def create_on_disk(self, verbose, source_template = None):
if dry_run:
return