From 0633e35fa69d327e6ea71d2c739a03a9ce9f0fd9 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Fri, 20 Apr 2012 03:12:06 +0200 Subject: [PATCH] dom0/core: include pcidevs and include_in_backups in cloned attrs Preserve it in qvm-clone and backup-restore --- dom0/qvm-core/qubes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom0/qvm-core/qubes.py b/dom0/qvm-core/qubes.py index a0d49568..b0e8b66f 100755 --- a/dom0/qvm-core/qubes.py +++ b/dom0/qvm-core/qubes.py @@ -1000,7 +1000,7 @@ class QubesVm(object): def get_clone_attrs(self): return ['kernel', 'uses_default_kernel', 'netvm', 'uses_default_netvm', \ 'memory', 'maxmem', 'kernelopts', 'uses_default_kernelopts', 'services', 'vcpus', \ - '_mac'] + '_mac', 'pcidevs', 'include_in_backups'] def clone_attrs(self, src_vm): for prop in self.get_clone_attrs():