On 15.03.21 07:47, Smith li wrote: > In > https://github.com/siemens/jailhouse/blob/master/Documentation/configuration-format.md > It only shows "To be written..." . > > I found how to write right .c configuration is very important . > For example , I want add a new inmate, a new inmate to run linux, I > don't know how to set the value in the document. > > The result is I can't easily run a new inmate. > I think it's not good. > > Will the document be written ? > or > Where can I found some good tips about how to write a right .c > configuration? > Thanks very much!
Eventually, this document needs to be written, at least to describe the binary format (which is expected to stay). The way we generate it right now via C may change, though. For the time being, have a look at existing configurations, in the main tree as well as in jailhouse-images (depending on your target) and also study the tutorial I gave a long time ago [1][2]. Some aspects have changed since then but not essential concepts. When details are unclear, ask questions here. Jan [1] https://events.linuxfoundation.org/sites/events/files/slides/ELCE2016-Jailhouse-Tutorial.pdf [2] https://youtu.be/7fiJbwmhnRw?list=PLbzoR-pLrL6pRFP6SOywVJWdEHlmQE51q -- Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux -- 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 jailhouse-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jailhouse-dev/b736e651-8add-7e49-f103-728173b0b751%40siemens.com.