dom0/core: don't limit netvm/proxyvm vcpu count to 1 (#571)

This commit is contained in:
Marek Marczykowski 2012-05-25 15:06:00 +02:00
parent 05123c09f2
commit 44c14d409c

View File

@ -74,7 +74,6 @@ default_appmenus_template_templates_subdir = "apps-template.templates"
default_kernels_subdir = "kernels" default_kernels_subdir = "kernels"
default_firewall_conf_file = "firewall.xml" default_firewall_conf_file = "firewall.xml"
default_memory = 400 default_memory = 400
default_servicevm_vcpus = 1
default_kernelopts = "" default_kernelopts = ""
default_kernelopts_pcidevs = "iommu=soft swiotlb=2048" default_kernelopts_pcidevs = "iommu=soft swiotlb=2048"
@ -1713,7 +1712,6 @@ class QubesNetVm(QubesVm):
attrs_config = super(QubesNetVm, self)._get_attrs_config() attrs_config = super(QubesNetVm, self)._get_attrs_config()
attrs_config['dir_path']['eval'] = 'value if value is not None else qubes_servicevms_dir + "/" + self.name' attrs_config['dir_path']['eval'] = 'value if value is not None else qubes_servicevms_dir + "/" + self.name'
attrs_config['label']['default'] = default_servicevm_label attrs_config['label']['default'] = default_servicevm_label
attrs_config['vcpus']['default'] = default_servicevm_vcpus
attrs_config['memory']['default'] = 200 attrs_config['memory']['default'] = 200
# New attributes # New attributes