Skip to content
Commit 2d11123a authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: MMU: Add for_each_shadow_entry(), a simpler alternative to walk_shadow()



Using a for_each loop style removes the need to write callback and nasty
casts.

Implement the walk_shadow() using the for_each_shadow_entry().

Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 971cc3dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment