KVM: MMU: Make gfn_to_page() always safe
authorIzik Eidus <avi@qumranet.com>
Wed, 17 Oct 2007 17:17:48 +0000 (19:17 +0200)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:52:54 +0000 (17:52 +0200)
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>

No differences found