diff options
author | Stefano Garzarella <[email protected]> | 2019-06-28 14:36:58 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-07-01 19:09:07 -0700 |
commit | 17dd1367389cfe7f150790c83247b68e0c19d106 (patch) | |
tree | 86a01960d5d6cece79f216448fac551e6affa9f5 /tools/perf/scripts/python/stackcollapse.py | |
parent | 9c7a5582f5d720dc35cfcc42ccaded69f0642e4a (diff) |
vsock/virtio: stop workers during the .remove()
Before to call vdev->config->reset(vdev) we need to be sure that
no one is accessing the device, for this reason, we add new variables
in the struct virtio_vsock to stop the workers during the .remove().
This patch also add few comments before vdev->config->reset(vdev)
and vdev->config->del_vqs(vdev).
Suggested-by: Stefan Hajnoczi <[email protected]>
Suggested-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Stefano Garzarella <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions