Skip to content
Commit 1755fbcc authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: MMU: Introduce gfn_to_gpa()



Converting a frame number to an address is tricky since the data type changes
size.  Introduce a function to do it.  This fixes an actual bug when
accessing guest ptes.

Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent 38c335f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment