On 2016-09-08 15:53, Ralf Ramsauer wrote:
> jailhouse-cell-linux depends on the memory layout of cell
> configurations. Make aware of this dependency by adding a comment.
> 
> Signed-off-by: Ralf Ramsauer <[email protected]>
> ---
>  hypervisor/include/jailhouse/cell-config.h | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/hypervisor/include/jailhouse/cell-config.h 
> b/hypervisor/include/jailhouse/cell-config.h
> index 8e8495d..115274c 100644
> --- a/hypervisor/include/jailhouse/cell-config.h
> +++ b/hypervisor/include/jailhouse/cell-config.h
> @@ -45,6 +45,10 @@
>  
>  #define JAILHOUSE_CELL_DESC_SIGNATURE        "JAILCELL"
>  
> +/**
> + * The jailhouse cell configuration.
> + * @note jailhouse-cell-linux depends on the memory layout of this structure

Let's make it more explicit:

"Keep Config._HEADER_FORMAT in jailhouse-cell-linux in sync with this
structure"

I can inject this on merge.

Testing the rest...

Thanks,
Jan

> + */
>  struct jailhouse_cell_desc {
>       char signature[8];
>       char name[JAILHOUSE_CELL_NAME_MAXLEN+1];
> 

-- 
Siemens AG, Corporate Technology, CT RDA ITP SES-DE
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to