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

2021-10-19 Thread Eugenio Perez Martin
On Wed, Oct 20, 2021 at 4:01 AM Jason Wang wrote: > > On Tue, Oct 19, 2021 at 4:40 PM Eugenio Perez Martin > wrote: > > > > On Fri, Oct 15, 2021 at 6:42 AM Jason Wang wrote: > > > > > > > > > 在 2021/10/15 上午12:39, Eugenio Perez Martin 写道: > > > > On Wed, Oct 13, 2021 at 5:47 AM Jason Wang wrote

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

2021-10-19 Thread Jason Wang
On Tue, Oct 19, 2021 at 4:40 PM Eugenio Perez Martin wrote: > > On Fri, Oct 15, 2021 at 6:42 AM Jason Wang wrote: > > > > > > 在 2021/10/15 上午12:39, Eugenio Perez Martin 写道: > > > On Wed, Oct 13, 2021 at 5:47 AM Jason Wang wrote: > > >> > > >> 在 2021/10/1 下午3:05, Eugenio Pérez 写道: > > >>> This wi

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

2021-10-19 Thread Eugenio Perez Martin
On Fri, Oct 15, 2021 at 6:42 AM Jason Wang wrote: > > > 在 2021/10/15 上午12:39, Eugenio Perez Martin 写道: > > On Wed, Oct 13, 2021 at 5:47 AM Jason Wang wrote: > >> > >> 在 2021/10/1 下午3:05, Eugenio Pérez 写道: > >>> This will make qemu aware of the device used buffers, allowing it to > >>> write the g

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

2021-10-14 Thread Jason Wang
在 2021/10/14 下午11:58, Eugenio Perez Martin 写道: On Wed, Oct 13, 2021 at 5:49 AM Jason Wang wrote: 在 2021/10/1 下午3:05, Eugenio Pérez 写道: This will make qemu aware of the device used buffers, allowing it to write the guest memory with its contents if needed. Since the use of vhost_virtqueue_s

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

2021-10-14 Thread Jason Wang
在 2021/10/15 上午12:39, Eugenio Perez Martin 写道: On Wed, Oct 13, 2021 at 5:47 AM Jason Wang wrote: 在 2021/10/1 下午3:05, Eugenio Pérez 写道: This will make qemu aware of the device used buffers, allowing it to write the guest memory with its contents if needed. Since the use of vhost_virtqueue_s

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

2021-10-14 Thread Eugenio Perez Martin
On Wed, Oct 13, 2021 at 5:47 AM Jason Wang wrote: > > > 在 2021/10/1 下午3:05, Eugenio Pérez 写道: > > This will make qemu aware of the device used buffers, allowing it to > > write the guest memory with its contents if needed. > > > > Since the use of vhost_virtqueue_start can unmasks and discard call

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

2021-10-14 Thread Eugenio Perez Martin
On Wed, Oct 13, 2021 at 5:49 AM Jason Wang wrote: > > > 在 2021/10/1 下午3:05, Eugenio Pérez 写道: > > This will make qemu aware of the device used buffers, allowing it to > > write the guest memory with its contents if needed. > > > > Since the use of vhost_virtqueue_start can unmasks and discard call

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

2021-10-12 Thread Jason Wang
在 2021/10/1 下午3:05, Eugenio Pérez 写道: This will make qemu aware of the device used buffers, allowing it to write the guest memory with its contents if needed. Since the use of vhost_virtqueue_start can unmasks and discard call events, vhost_virtqueue_start should be modified in one of these wa

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

2021-10-12 Thread Jason Wang
在 2021/10/1 下午3:05, Eugenio Pérez 写道: This will make qemu aware of the device used buffers, allowing it to write the guest memory with its contents if needed. Since the use of vhost_virtqueue_start can unmasks and discard call events, vhost_virtqueue_start should be modified in one of these wa

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

2021-10-01 Thread Eugenio Pérez
This will make qemu aware of the device used buffers, allowing it to write the guest memory with its contents if needed. Since the use of vhost_virtqueue_start can unmasks and discard call events, vhost_virtqueue_start should be modified in one of these ways: * Split in two: One of them uses all l