On 31/05/21 10:16 PM, Jan Kiszka wrote:
On 28.05.21 14:10, Prashant Kalikotay wrote:
Dear all,

             I am trying to write configuration files for the root and
the non-root cells for an arm64 based system. I have checked the video
https://youtu.be/7fiJbwmhnRw and also the pdf. I could just infer from
these that I have to write the config files using the already existing
ones eg: amd-seatle.c and other files. But what I am not able to
understand is how do I come up with the different values in the config
files as in other files.

For Example:

This is small portion of amd-seattle.c how do we come up with the values
in the mem_regions[] as 20, irqchips[] as 3, hypervisor_memory.
These a C-structures - the array sizes derive from the number of
elements we fill in below.

phys_start = 0x83e0000000, and all othe r values in the config files.
Which document has been used. Any pointer to any of the documents of the
various config files listed in the configs would be a lot helpful.

Concepts should have been explained in the tutorial you cited, details
are unfortunately not specified. Therefore, you need to study existing
configs and translate that knowledge to your specific target.

If you understand that partitioning concepts and mechanisms in
Jailhouse, doing so should be possible (you can always ask for concrete
details here). If not, even a detailed specification of the config
format would likely not help because you always have to apply that to
your concrete case, and the abstraction level of Jailhouse is fairly low.

Jan

Thanks for your reply Jan,

                                       I am trying to write configuration file for a arm64 based system. My doubt is how to go about allocating memory regions for the root and non-root cells. How do I come up with these addresses

phys_start =_/0x83e0000000 /_.

Regards,
Prashant K

--
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/914726a1-7178-321f-42fb-012ec241266a%40cimware.in.

Reply via email to