[siemens/jailhouse] 0d9d59: core: reinitialise comm region on cell restart

2 views
Skip to first unread message

GitHub

unread,
May 23, 2018, 8:07:36 AM5/23/18
to jailho...@googlegroups.com
Branch: refs/heads/next
Home: https://github.com/siemens/jailhouse
Commit: 0d9d59c182be7103702837344e0607fca682fa18
https://github.com/siemens/jailhouse/commit/0d9d59c182be7103702837344e0607fca682fa18
Author: Ralf Ramsauer <ralf.r...@oth-regensburg.de>
Date: 2018-05-23 (Wed, 23 May 2018)

Changed paths:
M hypervisor/arch/x86/control.c
M hypervisor/control.c

Log Message:
-----------
core: reinitialise comm region on cell restart

The communication region is RW for both, the inmate and the hypervisor.
As a consequence, an inmate may overwrite the whole region. Currently,
the region is filled in cell_create.

Move initialisation to cell_start to provide a proper initial state when
starting the cell. Move architecture specific initialisation to
arch_cell_reset, which will be called by cell_start.

Leave the cell's shut down state in cell_create to maintain a valid
state after cell creation.

Signed-off-by: Ralf Ramsauer <ralf.r...@oth-regensburg.de>
[Jan: migrated cpu variable as well, massaged comment format in cell_start]
Signed-off-by: Jan Kiszka <jan.k...@siemens.com>



**NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

Functionality will be removed from GitHub.com on January 31st, 2019.
Reply all
Reply to author
Forward
0 new messages