diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2009-06-10 12:27:04 -0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-09-10 08:32:53 +0300 |
commit | 08a3732bf2e68048c9166e929ca2115127a412ab (patch) | |
tree | 6f741496cf7c0932512e8af2833ca2596b4aebf9 /Makefile | |
parent | 776e6633363b5616be6fa4493a8b70ef8e2ea04b (diff) |
KVM: MMU audit: update count_writable_mappings / count_rmaps
Under testing, count_writable_mappings returns a value that is 2 integers
larger than what count_rmaps returns.
Suspicion is that either of the two functions is counting a duplicate (either
positively or negatively).
Modifying check_writable_mappings_rmap to check for rmap existance on
all present MMU pages fails to trigger an error, which should keep Avi
happy.
Also introduce mmu_spte_walk to invoke a callback on all present sptes visible
to the current vcpu, might be useful in the future.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions