Share mapped memory to the host when guest is in init phase#51
Share mapped memory to the host when guest is in init phase#51
Conversation
Signed-off-by: Jouni Ukkonen <jouni.ukkonen@unikie.com>
janik-h
left a comment
There was a problem hiding this comment.
It looks like the area is not added to shared page bookkeeping (check set_share). Due to this any logic that depends on the is_share do not work for those pages which are left shared during init phase.
|
Wait why would you want to do this? Which pages are you trying to leave as shared? |
|
Besides, I think we go to RUNNING state already when the initial cpu issues PSCI_VERSION, so there shouldn't be any pages this actually leaves open. |
If host blinding is enabled, crosvm/cuttlefish cause crash during init phase. |
|
That said, I don't think this is the right approach. You would need to check what the guest kernel attempts to share exactly and add a patch to the guest kernel to open it up. |
Signed-off-by: Jouni Ukkonen jouni.ukkonen@unikie.com