commit | cea7bb21280e3a825e64b54740edc5d3e6e4193c | [log] [tgz] |
---|---|---|
author | Izik Eidus <avi@qumranet.com> | Wed Oct 17 19:17:48 2007 +0200 |
committer | Avi Kivity <avi@qumranet.com> | Wed Jan 30 17:52:54 2008 +0200 |
tree | d9714d8c13491a433951b83a176f2a04f6521009 | |
parent | 9647c14c98687d0abf5197e74b9d1448ab6ebb95 [diff] |
KVM: MMU: Make gfn_to_page() always safe In case the page is not present in the guest memory map, return a dummy page the guest can scribble on. This simplifies error checking in its users. Signed-off-by: Izik Eidus <izike@qumranet.com> Signed-off-by: Avi Kivity <avi@qumranet.com>