KVM: s390: Make KVM_HVA_ERR_BAD usable on s390
authorDominik Dingel <dingel@linux.vnet.ibm.com>
Fri, 26 Jul 2013 13:04:07 +0000 (15:04 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 29 Jul 2013 07:03:53 +0000 (09:03 +0200)
commitbf640876e21fe603f7f52b0c27d66b7716da0384
tree981a401df9e8ede64cfe07aa0a86e20ff51153f9
parentea828ebf59f5b56e7261bfaeb94393c9dcb86260
KVM: s390: Make KVM_HVA_ERR_BAD usable on s390

Current common code uses PAGE_OFFSET to indicate a bad host virtual address.
As this check won't work on architectures that don't map kernel and user memory
into the same address space (e.g. s390), such architectures can now provide
their own KVM_HVA_ERR_BAD defines.

Signed-off-by: Dominik Dingel <dingel@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/s390/include/asm/kvm_host.h
include/linux/kvm_host.h