Commit bb1fcc7
KVM: nVMX: Allow L1 to use 5-level page walks for nested EPT
Add support for 5-level nested EPT, and advertise said support in the
EPT capabilities MSR. KVM's MMU can already handle 5-level legacy page
tables, there's no reason to force an L1 VMM to use shadow paging if it
wants to employ 5-level page tables.
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>1 parent 8053f92 commit bb1fcc7
File tree
5 files changed
+37
-12
lines changed- arch/x86
- include/asm
- kvm
- mmu
- vmx
5 files changed
+37
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
500 | 500 | | |
501 | 501 | | |
502 | 502 | | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
503 | 515 | | |
504 | 516 | | |
505 | 517 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5008 | 5008 | | |
5009 | 5009 | | |
5010 | 5010 | | |
5011 | | - | |
| 5011 | + | |
5012 | 5012 | | |
5013 | 5013 | | |
5014 | 5014 | | |
5015 | 5015 | | |
5016 | 5016 | | |
5017 | 5017 | | |
5018 | | - | |
| 5018 | + | |
5019 | 5019 | | |
5020 | 5020 | | |
5021 | 5021 | | |
| |||
5039 | 5039 | | |
5040 | 5040 | | |
5041 | 5041 | | |
| 5042 | + | |
5042 | 5043 | | |
5043 | 5044 | | |
5044 | | - | |
| 5045 | + | |
5045 | 5046 | | |
5046 | 5047 | | |
5047 | 5048 | | |
5048 | 5049 | | |
5049 | 5050 | | |
5050 | 5051 | | |
5051 | | - | |
| 5052 | + | |
5052 | 5053 | | |
5053 | 5054 | | |
5054 | 5055 | | |
| |||
5057 | 5058 | | |
5058 | 5059 | | |
5059 | 5060 | | |
5060 | | - | |
| 5061 | + | |
5061 | 5062 | | |
5062 | 5063 | | |
5063 | 5064 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2582 | 2582 | | |
2583 | 2583 | | |
2584 | 2584 | | |
2585 | | - | |
2586 | | - | |
| 2585 | + | |
| 2586 | + | |
| 2587 | + | |
| 2588 | + | |
| 2589 | + | |
| 2590 | + | |
| 2591 | + | |
| 2592 | + | |
| 2593 | + | |
| 2594 | + | |
| 2595 | + | |
2587 | 2596 | | |
| 2597 | + | |
2588 | 2598 | | |
2589 | 2599 | | |
2590 | 2600 | | |
| |||
6119 | 6129 | | |
6120 | 6130 | | |
6121 | 6131 | | |
6122 | | - | |
6123 | | - | |
| 6132 | + | |
| 6133 | + | |
| 6134 | + | |
| 6135 | + | |
| 6136 | + | |
6124 | 6137 | | |
6125 | 6138 | | |
6126 | 6139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2985 | 2985 | | |
2986 | 2986 | | |
2987 | 2987 | | |
2988 | | - | |
2989 | 2988 | | |
2990 | | - | |
| 2989 | + | |
2991 | 2990 | | |
2992 | 2991 | | |
2993 | 2992 | | |
| |||
0 commit comments