diff options
author | David Hildenbrand <[email protected]> | 2017-09-01 17:11:43 +0200 |
---|---|---|
committer | Christian Borntraeger <[email protected]> | 2017-11-09 09:49:47 +0100 |
commit | f7a6509fe002e3909cb41c09e807b7f3ca4a361b (patch) | |
tree | 0c6202bf569de39623b15f0b93a632ff0a131d02 /net/unix/sysctl_net_unix.c | |
parent | ba850a8e64fbbd5f6407d5931124d00ced0528cc (diff) |
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 <[email protected]>
Message-Id: <[email protected]>
Acked-by: Cornelia Huck <[email protected]>
Signed-off-by: Christian Borntraeger <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions