summary refs log tree commit diff stats
path: root/python/tests
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2023-10-03 21:45:31 -0400
committerMichael S. Tsirkin <mst@redhat.com>2023-10-22 05:18:16 -0400
commite6383293eb01928692047e617665a742cca87e23 (patch)
tree60a286fd17179e18458c45468479a1c56e783ae3 /python/tests
parent22d2464f7ee6242114733e62541eed14cde15977 (diff)
downloadfocaccia-qemu-e6383293eb01928692047e617665a742cca87e23.tar.gz
focaccia-qemu-e6383293eb01928692047e617665a742cca87e23.zip
vhost-backend: remove vhost_kernel_reset_device()
vhost_kernel_reset_device() invokes RESET_OWNER, which disassociates the
owner process from the device. The device is left non-operational since
SET_OWNER is only called once during startup in vhost_dev_init().

vhost_kernel_reset_device() is never called so this latent bug never
appears. Get rid of vhost_kernel_reset_device() for now. If someone
needs it in the future they'll need to implement it correctly.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20231004014532.1228637-3-stefanha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Raphael Norwitz <raphael.norwitz@nutanix.com>
Reviewed-by: Hanna Czenczek <hreitz@redhat.com>
Diffstat (limited to 'python/tests')
0 files changed, 0 insertions, 0 deletions