KVM: add kvm_is_error_hva()
authorIzik Eidus <izike@qumranet.com>
Sun, 11 Nov 2007 20:02:22 +0000 (22:02 +0200)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:53:01 +0000 (17:53 +0200)
commitf9d46eb0e4a5b5e0926ca61c19f8c8bbb9496b28
tree891e954d8c650641792e415ec6962d81dead116d
parent1a6f4d7fbd11e539630cd5637311a4e55fae60ef
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>
drivers/kvm/kvm.h
drivers/kvm/kvm_main.c