Re: [PATCH v2 1/2] virtio: Allow .get_vhost() without vhost_started

2024-08-01 Thread Stefan Hajnoczi
On Tue, Jul 23, 2024 at 06:39:39PM +0200, Hanna Czenczek wrote: > Historically, .get_vhost() was probably only called when > vdev->vhost_started is true. However, we now decidedly want to call it > also when vhost_started is false, specifically so we can issue a reset > to the vhost back-end while

[PATCH v2 1/2] virtio: Allow .get_vhost() without vhost_started

2024-07-23 Thread Hanna Czenczek
Historically, .get_vhost() was probably only called when vdev->vhost_started is true. However, we now decidedly want to call it also when vhost_started is false, specifically so we can issue a reset to the vhost back-end while device operation is stopped. Some .get_vhost() implementations derefer