diff options
author | Avi Kivity <avi@redhat.com> | 2010-07-13 07:27:10 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-08-01 23:40:47 -0400 |
commit | 5991b33237b7fc7dd9f62ae04998c42217d444a7 (patch) | |
tree | dadadd3c7329e073f64af5e13260b4d732d35cb3 /tools | |
parent | 0b3c933302262d83018dd5f69656bca9f28a0cd3 (diff) |
KVM: MMU: Validate all gptes during fetch, not just those used for new pages
Currently, when we fetch an spte, we only verify that gptes match those that
the walker saw if we build new shadow pages for them.
However, this misses the following race:
vcpu1 vcpu2
walk
change gpte
walk
instantiate sp
fetch existing sp
Fix by validating every gpte, regardless of whether it is used for building
a new sp or not.
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions