dom0/core: include pcidevs and include_in_backups in cloned attrs
Preserve it in qvm-clone and backup-restore
This commit is contained in:
parent
798e3d8c96
commit
0633e35fa6
@ -1000,7 +1000,7 @@ class QubesVm(object):
|
|||||||
def get_clone_attrs(self):
|
def get_clone_attrs(self):
|
||||||
return ['kernel', 'uses_default_kernel', 'netvm', 'uses_default_netvm', \
|
return ['kernel', 'uses_default_kernel', 'netvm', 'uses_default_netvm', \
|
||||||
'memory', 'maxmem', 'kernelopts', 'uses_default_kernelopts', 'services', 'vcpus', \
|
'memory', 'maxmem', 'kernelopts', 'uses_default_kernelopts', 'services', 'vcpus', \
|
||||||
'_mac']
|
'_mac', 'pcidevs', 'include_in_backups']
|
||||||
|
|
||||||
def clone_attrs(self, src_vm):
|
def clone_attrs(self, src_vm):
|
||||||
for prop in self.get_clone_attrs():
|
for prop in self.get_clone_attrs():
|
||||||
|
Loading…
Reference in New Issue
Block a user