tag | dc3041b71a071eb03b321d4d6a8db73bb41cc946 | |
---|---|---|
tagger | Cornelia Huck <cohuck@redhat.com> | Mon Oct 16 11:40:03 2017 +0200 |
object | 4cebc5d6a6ff41c0266d235aa4854b062d34ad09 |
Some improvements in data handling for vfio-ccw.
commit | 4cebc5d6a6ff41c0266d235aa4854b062d34ad09 | [log] [tgz] |
---|---|---|
author | Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com> | Wed Oct 11 04:38:22 2017 +0200 |
committer | Cornelia Huck <cohuck@redhat.com> | Mon Oct 16 11:14:48 2017 +0200 |
tree | 41b1f670f9cefb1f8a0aa118f59bccb8983bf3dd | |
parent | 688c29533ffc969773bc860d07d3a5f1995f5878 [diff] |
vfio: ccw: validate the count field of a ccw before pinning If the count field of a ccw is zero, there is no need to try to pin page(s) for it. Let's check the count value before starting pinning operations. Reviewed-by: Pierre Morel <pmorel@linux.vnet.ibm.com> Signed-off-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com> Message-Id: <20171011023822.42948-3-bjsdjshi@linux.vnet.ibm.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>