From: Jens Freimann Date: Thu, 17 Apr 2014 08:10:30 +0000 (+0200) Subject: KVM: s390: return -EFAULT if lowcore is not mapped during irq delivery X-Git-Tag: fixes-for-v3.18-merge-window~23^2~66^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7939503147f89f0799ddc89afec2aeae57dd7e2c;p=pandora-kernel.git KVM: s390: return -EFAULT if lowcore is not mapped during irq delivery Currently we just kill the userspace process and exit the thread immediatly without making sure that we don't hold any locks etc. Improve this by making KVM_RUN return -EFAULT if the lowcore is not mapped during interrupt delivery. To achieve this we need to pass the return code of guest memory access routines used in interrupt delivery all the way back to the KVM_RUN ioctl. Signed-off-by: Jens Freimann Reviewed-by: David Hildenbrand Reviewed-by: Cornelia Huck Signed-off-by: Christian Borntraeger --- Reading git-diff-tree failed