aboutsummaryrefslogtreecommitdiff
path: root/backends/hostmem-epc.c
diff options
context:
space:
mode:
Diffstat (limited to 'backends/hostmem-epc.c')
-rw-r--r--backends/hostmem-epc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/hostmem-epc.c b/backends/hostmem-epc.c
index 735e2e1..f58fcf0 100644
--- a/backends/hostmem-epc.c
+++ b/backends/hostmem-epc.c
@@ -36,6 +36,7 @@ sgx_epc_backend_memory_alloc(HostMemoryBackend *backend, Error **errp)
return false;
}
+ backend->aligned = true;
name = object_get_canonical_path(OBJECT(backend));
ram_flags = (backend->share ? RAM_SHARED : 0) | RAM_PROTECTED;
return memory_region_init_ram_from_fd(&backend->mr, OBJECT(backend), name,