diff options
| author | Stefan Hajnoczi <stefanha@redhat.com> | 2023-10-03 21:45:31 -0400 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2023-10-22 05:18:16 -0400 |
| commit | e6383293eb01928692047e617665a742cca87e23 (patch) | |
| tree | 60a286fd17179e18458c45468479a1c56e783ae3 /python/tests | |
| parent | 22d2464f7ee6242114733e62541eed14cde15977 (diff) | |
| download | focaccia-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