KVM: add kvm_is_error_hva()

Check for the "error hva", an address outside the user address space that
signals a bad gfn.

Signed-off-by: Izik Eidus <izike@qumranet.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
This commit is contained in:
Izik Eidus 2007-11-11 22:02:22 +02:00 • committed by Avi Kivity
commit f9d46eb0e4
2 changed files with 12 additions and 0 deletions