mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-24 18:16:04 +00:00
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: Avi Kivity <avi@qumranet.com>
This commit is contained in:
parent
38c335f1f5
commit
1755fbcc66
2 changed files with 6 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue