forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KVM: x86/PVM: Add support for 5-level paging mode
When 5-level paging mode is enabled on the host, the guest can be either in 4-level paging mode or 5-level paging mode. For 4-level paging mode, only the topmost 128TB is canonical. Therefore, the hypervisor needs to reserve two ranges: one in the vmalloc area for the 5-level paging mode guest, and another in the topmost 128TB for the 4-level paging mode guest. If the allocation of the range for the 5-level paging mode guest fails, then 5-level paging mode is disabled for the guest. Signed-off-by: Hou Wenlong <[email protected]> Link: #6
- Loading branch information
Showing
2 changed files
with
67 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters