commit | 2d11123a77e54d5cea262c958e8498f4a08bce3d | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Thu Dec 25 14:39:47 2008 +0200 |
committer | Avi Kivity <avi@redhat.com> | Tue Mar 24 11:02:52 2009 +0200 |
tree | 4068b8f6c35f424c32ad0c160d8719d8463bfe28 | |
parent | 971cc3dcbc0e020b82f568e61a47b72be03307dd [diff] |
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: Avi Kivity <avi@redhat.com>