diff options
author | Ben Gardon <bgardon@google.com> | 2020-09-25 14:22:48 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-10-21 18:16:58 -0400 |
commit | cc4674d0ded069c1673fd6fec94a18e436828195 (patch) | |
tree | 6be5e66ae93b96ba81d12a217a4609c8cd3dfdfb /lib/test_overflow.c | |
parent | c0623f5e5d21d65d08f6276ca4e64d470c833761 (diff) | |
download | lwn-cc4674d0ded069c1673fd6fec94a18e436828195.tar.gz lwn-cc4674d0ded069c1673fd6fec94a18e436828195.zip |
kvm: mmu: Separate making non-leaf sptes from link_shadow_page
The TDP MMU page fault handler will need to be able to create non-leaf
SPTEs to build up the paging structures. Rather than re-implementing the
function, factor the SPTE creation out of link_shadow_page.
Tested by running kvm-unit-tests and KVM selftests on an Intel Haswell
machine. This series introduced no new failures.
This series can be viewed in Gerrit at:
https://linux-review.googlesource.com/c/virt/kvm/kvm/+/2538
Signed-off-by: Ben Gardon <bgardon@google.com>
Message-Id: <20200925212302.3979661-9-bgardon@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions