commit | 83d1193a96dc78576c15f93cd70e0558763a85b3 | [log] [tgz] |
---|---|---|
author | Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com> | Fri Mar 17 04:17:37 2017 +0100 |
committer | Cornelia Huck <cornelia.huck@de.ibm.com> | Fri Mar 31 12:55:08 2017 +0200 |
tree | 3d7e58feeab5cfbeb2f7f42101055b4b3c4e515e | |
parent | e01bcdd61320c91c826376e0a7dd96ef8e85dd18 [diff] |
vfio: ccw: realize VFIO_DEVICE_RESET ioctl Introduce VFIO_DEVICE_RESET ioctl for vfio-ccw to make it possible to hot-reset the device. We try to achieve a reset by first disabling the subchannel and then enabling it again: this should clear all state at the subchannel. Signed-off-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com> Message-Id: <20170317031743.40128-11-bjsdjshi@linux.vnet.ibm.com> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>