From 1465b8f1045cf92d1381fd2dd3134b7e1f212e2d Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Mon, 26 Mar 2012 11:33:30 +0200 Subject: [PATCH] dom0/core: fix clone of HVM (#17) --- dom0/qvm-core/qubes.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dom0/qvm-core/qubes.py b/dom0/qvm-core/qubes.py index 2a4488b5..5c046bab 100755 --- a/dom0/qvm-core/qubes.py +++ b/dom0/qvm-core/qubes.py @@ -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