Re: [RFC PATCH v4 08/20] vhost: Route guest->host notification through shadow virtqueue

2021-10-15 Thread Eugenio Perez Martin
On Thu, Oct 14, 2021 at 2:00 PM Eugenio Perez Martin wrote: > > On Wed, Oct 13, 2021 at 5:27 AM Jason Wang wrote: > > > > > > 在 2021/10/1 下午3:05, Eugenio Pérez 写道: > > > Shadow virtqueue notifications forwarding is disabled when vhost_dev > > > stops, so code flow follows usual cleanup. > > > >

Re: [RFC PATCH v4 08/20] vhost: Route guest->host notification through shadow virtqueue

2021-10-15 Thread Eugenio Perez Martin
On Fri, Oct 15, 2021 at 5:46 AM Jason Wang wrote: > > > 在 2021/10/14 下午8:00, Eugenio Perez Martin 写道: > > On Wed, Oct 13, 2021 at 5:27 AM Jason Wang wrote: > >> > >> 在 2021/10/1 下午3:05, Eugenio Pérez 写道: > >>> Shadow virtqueue notifications forwarding is disabled when vhost_dev > >>> stops, so

Re: [RFC PATCH v4 08/20] vhost: Route guest->host notification through shadow virtqueue

2021-10-14 Thread Jason Wang
在 2021/10/14 下午8:00, Eugenio Perez Martin 写道: On Wed, Oct 13, 2021 at 5:27 AM Jason Wang wrote: 在 2021/10/1 下午3:05, Eugenio Pérez 写道: Shadow virtqueue notifications forwarding is disabled when vhost_dev stops, so code flow follows usual cleanup. Also, host notifiers must be disabled at

Re: [RFC PATCH v4 08/20] vhost: Route guest->host notification through shadow virtqueue

2021-10-14 Thread Eugenio Perez Martin
On Wed, Oct 13, 2021 at 5:27 AM Jason Wang wrote: > > > 在 2021/10/1 下午3:05, Eugenio Pérez 写道: > > Shadow virtqueue notifications forwarding is disabled when vhost_dev > > stops, so code flow follows usual cleanup. > > > > Also, host notifiers must be disabled at SVQ start, > > > Any reason for

Re: [RFC PATCH v4 08/20] vhost: Route guest->host notification through shadow virtqueue

2021-10-12 Thread Jason Wang
在 2021/10/1 下午3:05, Eugenio Pérez 写道: Shadow virtqueue notifications forwarding is disabled when vhost_dev stops, so code flow follows usual cleanup. Also, host notifiers must be disabled at SVQ start, Any reason for this? and they will not start if SVQ has been enabled when device is

Re: [RFC PATCH v4 08/20] vhost: Route guest->host notification through shadow virtqueue

2021-10-12 Thread Eugenio Perez Martin
On Tue, Oct 12, 2021 at 7:20 AM Markus Armbruster wrote: > > Eugenio Pérez writes: > > > Shadow virtqueue notifications forwarding is disabled when vhost_dev > > stops, so code flow follows usual cleanup. > > > > Also, host notifiers must be disabled at SVQ start, and they will not > > start if

Re: [RFC PATCH v4 08/20] vhost: Route guest->host notification through shadow virtqueue

2021-10-11 Thread Markus Armbruster
Eugenio Pérez writes: > Shadow virtqueue notifications forwarding is disabled when vhost_dev > stops, so code flow follows usual cleanup. > > Also, host notifiers must be disabled at SVQ start, and they will not > start if SVQ has been enabled when device is stopped. This is trivial > to

[RFC PATCH v4 08/20] vhost: Route guest->host notification through shadow virtqueue

2021-10-01 Thread Eugenio Pérez
Shadow virtqueue notifications forwarding is disabled when vhost_dev stops, so code flow follows usual cleanup. Also, host notifiers must be disabled at SVQ start, and they will not start if SVQ has been enabled when device is stopped. This is trivial to address, but it is left out for simplicity