Do not activate sparse memory by default for c1700 and c2600 platforms.

https://github.com/GNS3/dynamips/issues/54
This commit is contained in:
grossmj
2014-08-26 17:07:48 -06:00
parent 80ab81190c
commit 76b357c1ce
3 changed files with 8 additions and 3 deletions

View File

@ -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"]