Skip to content
Commit 4d6931c3 authored by Davidlohr Bueso's avatar Davidlohr Bueso Committed by Avi Kivity
Browse files

KVM: MMU: make use of ->root_level in reset_rsvds_bits_mask



The reset_rsvds_bits_mask() function can use the guest walker's root level
number instead of using a separate 'level' variable.

Signed-off-by: default avatarDavidlohr Bueso <dave@gnu.org>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 62079d8a
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