diff options
author | Sean Christopherson <seanjc@google.com> | 2021-06-22 10:57:33 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-06-24 18:00:46 -0400 |
commit | 3b77daa5efe1cb343ee498ade6ee58c8ada58074 (patch) | |
tree | 9b20932ca3bc47a9d728cb7f73c8390923e205ef /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 961f84457cd4e2fc479e59d015f1d292ec30373b (diff) |
KVM: x86/mmu: WARN on any reserved SPTE value when making a valid SPTE
Replace make_spte()'s WARN on a collision with the magic MMIO value with
a generic WARN on reserved bits being set (including EPT's reserved WX
combination). Warning on any reserved bits covers MMIO, A/D tracking
bits with PAE paging, and in theory any future goofs that are introduced.
Opportunistically convert to ONCE behavior to avoid spamming the kernel
log, odds are very good that if KVM screws up one SPTE, it will botch all
SPTEs for the same MMU.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210622175739.3610207-49-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions