+563
−1
Loading
hygon inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IAYGKY CVE: NA --------------------------- CSV3 guest's nested page table is managed by firmware. All the guest memory is private by default. The firmware maps guest's private memory in nested page table in advance. CSV3 guest may declare some memory regions as shared. It needs to send secure call command with specified memory region to firmware, then firmware frees the private pages which is mapped to the memory region. When guest access the specified memory region by then, nested page fault happens. When nested page fault happens, host needs to issue an external command UPDATE_NPT to firmware. Then firmware helps to map the specified shared pages in nested page table. Signed-off-by:Xin Jiang <jiangxin@hygon.cn> Signed-off-by:
yangwencheng <yangwencheng@hygon.cn> Signed-off-by:
hanliyang <hanliyang@hygon.cn>