commit | 727ba748e110b4de50d142edca9d6a9b7e6111d8 | [log] [tgz] |
---|---|---|
author | Felix Wilhelm <fwilhelm@google.com> | Mon Jun 11 09:43:44 2018 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Jun 12 15:06:06 2018 +0200 |
tree | b7573effd1110a11aac720cc38407bfdb45f651f | |
parent | f4160e459c57646122beaea3f163b798179ea446 [diff] |
kvm: nVMX: Enforce cpl=0 for VMX instructions VMX instructions executed inside a L1 VM will always trigger a VM exit even when executed with cpl 3. This means we must perform the privilege check in software. Fixes: 70f3aac964ae("kvm: nVMX: Remove superfluous VMX instruction fault checks") Cc: stable@vger.kernel.org Signed-off-by: Felix Wilhelm <fwilhelm@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>