Hi,

I checked the array sizes and they are correct. num_memory_regions uses the 
ARRAY_SIZE macro:

.num_memory_regions = ARRAY_SIZE(config.mem_regions)

In Linux I can mmap and access the mapped region without errors.

Any other thought?

> 
> Maybe the region was not properly registered. Did you increase the
> mem_regions array size? Did you change num_memory_regions so that it
> requires manual updates? That's better discussed over the full config.
> 
> Note that, if you want to share a region between root and non-root cell,
> the latter also needs JAILHOUSE_MEM_ROOTSHARED.
> 
> Jan

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to