dom0/core: disable dynamic memory when VM have PCI devices assigned
This commit is contained in:
parent
cfd95575dd
commit
2ddd48f8e4
@ -331,6 +331,10 @@ class QubesVm(object):
|
||||
if 'meminfo-writer' not in self.services:
|
||||
self.services['meminfo-writer'] = not (len(self.pcidevs) > 0)
|
||||
|
||||
# Additionally force meminfo-writer disabled when VM have PCI devices
|
||||
if len(self.pcidevs) > 0:
|
||||
self.services['meminfo-writer'] = False
|
||||
|
||||
# Some additional checks for template based VM
|
||||
if self.template is not None:
|
||||
if not self.template.is_template():
|
||||
|
Loading…
Reference in New Issue
Block a user