From 645132f04310bb9e953b2ea678bab66729e47c1a Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Mon, 6 Jun 2011 01:46:35 +0200 Subject: [PATCH] dom0: Explicitly set maxmem=mem for NetVM --- dom0/qvm-core/qubes.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dom0/qvm-core/qubes.py b/dom0/qvm-core/qubes.py index 15dba02f..b079e681 100755 --- a/dom0/qvm-core/qubes.py +++ b/dom0/qvm-core/qubes.py @@ -1259,6 +1259,8 @@ class QubesNetVm(QubesVm): if "memory" not in kwargs or kwargs["memory"] is None: kwargs["memory"] = 200 + kwargs["maxmem"] = kwargs["memory"] + super(QubesNetVm, self).__init__(**kwargs) self.connected_vms = QubesVmCollection()