Re: [PATCH 0/3] vhost: clean up device reset

2023-10-03 Thread Stefan Hajnoczi
On Tue, 3 Oct 2023 at 17:01, Michael S. Tsirkin wrote: > > On Wed, Sep 27, 2023 at 03:27:34PM -0400, Stefan Hajnoczi wrote: > > Stateful vhost devices may need to free resources or clear device state upon > > device reset. The vhost-user protocol has a VHOST_USER_RESET_DEVICE message > > for > >

Re: [PATCH 0/3] vhost: clean up device reset

2023-10-03 Thread Michael S. Tsirkin
On Wed, Sep 27, 2023 at 03:27:34PM -0400, Stefan Hajnoczi wrote: > Stateful vhost devices may need to free resources or clear device state upon > device reset. The vhost-user protocol has a VHOST_USER_RESET_DEVICE message > for > this and vDPA has SET_STATUS 0, but only QEMU's vhost-user-scsi

Re: [PATCH 0/3] vhost: clean up device reset

2023-10-02 Thread Lei Yang
QE tested a regression testing on this series with vhost-vdpa device, everything is working fine. Tested-by: Lei Yang On Thu, Sep 28, 2023 at 6:40 PM Eugenio Perez Martin wrote: > > On Wed, Sep 27, 2023 at 9:27 PM Stefan Hajnoczi wrote: > > > > Stateful vhost devices may need to free

Re: [PATCH 0/3] vhost: clean up device reset

2023-09-28 Thread Eugenio Perez Martin
On Wed, Sep 27, 2023 at 9:27 PM Stefan Hajnoczi wrote: > > Stateful vhost devices may need to free resources or clear device state upon > device reset. The vhost-user protocol has a VHOST_USER_RESET_DEVICE message > for > this and vDPA has SET_STATUS 0, but only QEMU's vhost-user-scsi device >

[PATCH 0/3] vhost: clean up device reset

2023-09-27 Thread Stefan Hajnoczi
Stateful vhost devices may need to free resources or clear device state upon device reset. The vhost-user protocol has a VHOST_USER_RESET_DEVICE message for this and vDPA has SET_STATUS 0, but only QEMU's vhost-user-scsi device actually implements this today. This patch series performs device