Commit b96e650
KVM: x86: VMX: Make smaller physical guest address space support user-configurable
This patch exposes allow_smaller_maxphyaddr to the user as a module parameter.
Since smaller physical address spaces are only supported on VMX, the
parameter is only exposed in the kvm_intel module.
For now disable support by default, and let the user decide if they want
to enable it.
Modifications to VMX page fault and EPT violation handling will depend
on whether that parameter is enabled.
Signed-off-by: Mohammed Gamal <mgamal@redhat.com>
Message-Id: <20200903141122.72908-1-mgamal@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>1 parent 32251b0 commit b96e650
3 files changed
Lines changed: 15 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
132 | 135 | | |
133 | 136 | | |
134 | 137 | | |
| |||
4803 | 4806 | | |
4804 | 4807 | | |
4805 | 4808 | | |
| 4809 | + | |
4806 | 4810 | | |
4807 | 4811 | | |
4808 | 4812 | | |
| |||
5331 | 5335 | | |
5332 | 5336 | | |
5333 | 5337 | | |
5334 | | - | |
| 5338 | + | |
5335 | 5339 | | |
5336 | 5340 | | |
5337 | 5341 | | |
| |||
8305 | 8309 | | |
8306 | 8310 | | |
8307 | 8311 | | |
8308 | | - | |
8309 | | - | |
8310 | | - | |
| 8312 | + | |
| 8313 | + | |
| 8314 | + | |
8311 | 8315 | | |
8312 | | - | |
| 8316 | + | |
| 8317 | + | |
8313 | 8318 | | |
8314 | 8319 | | |
8315 | 8320 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
552 | 552 | | |
553 | 553 | | |
554 | 554 | | |
555 | | - | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
556 | 559 | | |
557 | 560 | | |
558 | 561 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
| 191 | + | |
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| |||
0 commit comments