diff options
author | Sean Christopherson <[email protected]> | 2023-07-28 18:35:32 -0700 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2023-08-31 14:08:17 -0400 |
commit | 427c76aed29ec12a57f11546a5036df3cc52855e (patch) | |
tree | d5fee7d8cd943b48427c3b8b510ba99b94a94cc3 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | e18c5429e0c4bf7b550211245dcbfc61e71a7e6f (diff) |
KVM: x86/mmu: Bug the VM if write-tracking is used but not enabled
Bug the VM if something attempts to write-track a gfn, but write-tracking
isn't enabled. The VM is doomed (and KVM has an egregious bug) if KVM or
KVMGT wants to shadow guest page tables but can't because write-tracking
isn't enabled.
Tested-by: Yongwei Ma <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions