aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kvm/interrupt.c
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2017-09-01 17:11:43 +0200
committerChristian Borntraeger <borntraeger@de.ibm.com>2017-11-09 09:49:47 +0100
commitf7a6509fe002e3909cb41c09e807b7f3ca4a361b (patch)
tree0c6202bf569de39623b15f0b93a632ff0a131d02 /arch/s390/kvm/interrupt.c
parentKVM: s390: SIE considerations for AP Queue virtualization (diff)
downloadlinux-dev-f7a6509fe002e3909cb41c09e807b7f3ca4a361b.tar.xz
linux-dev-f7a6509fe002e3909cb41c09e807b7f3ca4a361b.zip
KVM: s390: vsie: use common code functions for pinning
We will not see -ENOMEM (gfn_to_hva() will return KVM_ERR_PTR_BAD_PAGE for all errors). So we can also get rid of special handling in the callers of pin_guest_page() and always assume that it is a g2 error. As also kvm_s390_inject_program_int() should never fail, we can simplify pin_scb(), too. Signed-off-by: David Hildenbrand <david@redhat.com> Message-Id: <20170901151143.22714-1-david@redhat.com> Acked-by: Cornelia Huck <cohuck@redhat.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/kvm/interrupt.c')
0 files changed, 0 insertions, 0 deletions