aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorPierre Morel <[email protected]>2015-07-09 14:58:26 +0200
committerMichael S. Tsirkin <[email protected]>2015-07-13 19:47:10 +0300
commitea52bf8eda9832ad30e9f059c5ead8d44f882a53 (patch)
tree7c0de6d795c587d801f5b4c6eb2106526056396b /scripts/gdb/linux/modules.py
parent1b568d934eec1c5c99565c41f6c8ca66e9743e96 (diff)
9p/trans_virtio: reset virtio device on remove
On device shutdown/removal, virtio drivers need to trigger a reset on the device; if this is neglected, the virtio core will complain about non-zero device status. This patch resets the status when the 9p virtio driver is removed from the system by calling vdev->config->reset on the virtio_device to send a reset to the host virtio device. Signed-off-by: Pierre Morel <[email protected]> Reviewed-by: Cornelia Huck <[email protected]> Reviewed-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions