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

2023-09-27 Thread Raphael Norwitz
> On Sep 27, 2023, at 3:27 PM, 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_res

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

2023-09-27 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