diff --git a/gns3server/modules/dynamips/backends/vm.py b/gns3server/modules/dynamips/backends/vm.py index 1da7e50c..6a471620 100644 --- a/gns3server/modules/dynamips/backends/vm.py +++ b/gns3server/modules/dynamips/backends/vm.py @@ -158,7 +158,8 @@ class VM(object): router = PLATFORMS[platform](hypervisor, name, router_id) router.ram = ram router.image = image - router.sparsemem = self._hypervisor_manager.sparse_memory_support + if platform not in ("c1700", "c2600"): + router.sparsemem = self._hypervisor_manager.sparse_memory_support router.mmap = self._hypervisor_manager.mmap_support if "console" in request: router.console = request["console"] diff --git a/gns3server/modules/dynamips/nodes/c1700.py b/gns3server/modules/dynamips/nodes/c1700.py index 0d59f616..241601a2 100644 --- a/gns3server/modules/dynamips/nodes/c1700.py +++ b/gns3server/modules/dynamips/nodes/c1700.py @@ -51,6 +51,7 @@ class C1700(Router): self._chassis = chassis self._iomem = 15 # percentage self._clock_divisor = 8 + self._sparsemem = False if chassis != "1720": self.chassis = chassis @@ -72,7 +73,8 @@ class C1700(Router): "disk1": self._disk1, "chassis": self._chassis, "iomem": self._iomem, - "clock_divisor": self._clock_divisor} + "clock_divisor": self._clock_divisor, + "sparsemem": self._sparsemem} # update the router defaults with the platform specific defaults router_defaults.update(platform_defaults) diff --git a/gns3server/modules/dynamips/nodes/c2600.py b/gns3server/modules/dynamips/nodes/c2600.py index 155fbf2f..56866235 100644 --- a/gns3server/modules/dynamips/nodes/c2600.py +++ b/gns3server/modules/dynamips/nodes/c2600.py @@ -66,6 +66,7 @@ class C2600(Router): self._chassis = chassis self._iomem = 15 # percentage self._clock_divisor = 8 + self._sparsemem = False if chassis != "2610": self.chassis = chassis @@ -87,7 +88,8 @@ class C2600(Router): "disk1": self._disk1, "iomem": self._iomem, "chassis": self._chassis, - "clock_divisor": self._clock_divisor} + "clock_divisor": self._clock_divisor, + "sparsemem": self._sparsemem} # update the router defaults with the platform specific defaults router_defaults.update(platform_defaults)