Ensure the swap_layer is optional for intel spaces.

This commit is contained in:
Mike Auty
2016-01-13 00:11:50 +00:00
parent 55a93073eb
commit d2730fc95f
+1 -1
View File
@@ -17,7 +17,7 @@ class Intel(interfaces.layers.TranslationLayerInterface):
"architecture": "ia32"
}
def __init__(self, context, name, page_map_offset, memory_layer, swap_layer):
def __init__(self, context, name, page_map_offset, memory_layer, swap_layer = None):
interfaces.layers.TranslationLayerInterface.__init__(self, context, name)
self._base_layer = memory_layer
self._page_map_offset = page_map_offset