diff options
author | David Hildenbrand <david@redhat.com> | 2017-09-01 18:11:43 +0300 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2017-11-09 11:49:47 +0300 |
commit | f7a6509fe002e3909cb41c09e807b7f3ca4a361b (patch) | |
tree | 0c6202bf569de39623b15f0b93a632ff0a131d02 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ba850a8e64fbbd5f6407d5931124d00ced0528cc (diff) | |
download | linux-f7a6509fe002e3909cb41c09e807b7f3ca4a361b.tar.xz |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions