commit | 1755fbcc6666906cada43c1c839ca1fc6616d4a6 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@qumranet.com> | Wed Nov 21 14:44:45 2007 +0200 |
committer | Avi Kivity <avi@qumranet.com> | Wed Jan 30 17:53:11 2008 +0200 |
tree | 2f878da8de7c7e9043337d7ee028116b0c397829 | |
parent | 38c335f1f57bd9edc3cd894e8f5f3fc133320ad3 [diff] |
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>