Re: [PATCH v2 2/3] vhost-backend: remove vhost_kernel_reset_device()

2023-10-04 Thread Hanna Czenczek
On 04.10.23 03:45, Stefan Hajnoczi wrote: 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

[PATCH v2 2/3] vhost-backend: remove vhost_kernel_reset_device()

2023-10-03 Thread Stefan Hajnoczi
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 o