diff options
author | Paolo Bonzini | 2023-03-10 11:10:56 -0500 |
---|---|---|
committer | Paolo Bonzini | 2023-03-14 09:40:54 -0400 |
commit | 112e66017bff7f2837030f34c2bc19501e9212d5 (patch) | |
tree | 8816493ae1591e0086f17c803580e0eaad3521a7 /arch/s390 | |
parent | bceeedb2f0b803fa188b931b30c064ee60196f09 (diff) |
KVM: nVMX: add missing consistency checks for CR0 and CR4
The effective values of the guest CR0 and CR4 registers may differ from
those included in the VMCS12. In particular, disabling EPT forces
CR4.PAE=1 and disabling unrestricted guest mode forces CR0.PG=CR0.PE=1.
Therefore, checks on these bits cannot be delegated to the processor
and must be performed by KVM.
Reported-by: Reima ISHII <ishiir@g.ecc.u-tokyo.ac.jp>
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/s390')
0 files changed, 0 insertions, 0 deletions