Re: [Qemu-devel] [PATCH v2 3/6] vhost: extend ring information update for IOTLB to all rings

2017-06-01 Thread Michael S. Tsirkin
On Wed, May 31, 2017 at 05:20:21PM +0200, Maxime Coquelin wrote: > Hi Michael, > > On 05/30/2017 11:11 PM, Maxime Coquelin wrote: > > > > > > On 05/30/2017 11:06 PM, Maxime Coquelin wrote: > > > Hi Michael, > > > > > > On 05/30/2017 08:12 PM, Michael S. Tsirkin wrote: > > > > On Fri, May 26, 20

Re: [Qemu-devel] [PATCH v2 3/6] vhost: extend ring information update for IOTLB to all rings

2017-06-01 Thread Michael S. Tsirkin
On Tue, May 30, 2017 at 11:06:54PM +0200, Maxime Coquelin wrote: > Hi Michael, > > On 05/30/2017 08:12 PM, Michael S. Tsirkin wrote: > > On Fri, May 26, 2017 at 04:28:55PM +0200, Maxime Coquelin wrote: > > > Vhost-kernel backend need > > > > needs > > > > > to receive IOTLB entry for used ring >

Re: [Qemu-devel] [PATCH v2 3/6] vhost: extend ring information update for IOTLB to all rings

2017-05-31 Thread Maxime Coquelin
Hi Michael, On 05/30/2017 11:11 PM, Maxime Coquelin wrote: On 05/30/2017 11:06 PM, Maxime Coquelin wrote: Hi Michael, On 05/30/2017 08:12 PM, Michael S. Tsirkin wrote: On Fri, May 26, 2017 at 04:28:55PM +0200, Maxime Coquelin wrote: Vhost-kernel backend need needs to receive IOTLB entr

Re: [Qemu-devel] [PATCH v2 3/6] vhost: extend ring information update for IOTLB to all rings

2017-05-31 Thread Jason Wang
On 2017年05月31日 02:12, Michael S. Tsirkin wrote: On Fri, May 26, 2017 at 04:28:55PM +0200, Maxime Coquelin wrote: Vhost-kernel backend need needs to receive IOTLB entry for used ring information early, which is done by triggering a miss event on its address. This patch extends this behaviou

Re: [Qemu-devel] [PATCH v2 3/6] vhost: extend ring information update for IOTLB to all rings

2017-05-30 Thread Maxime Coquelin
On 05/30/2017 11:06 PM, Maxime Coquelin wrote: Hi Michael, On 05/30/2017 08:12 PM, Michael S. Tsirkin wrote: On Fri, May 26, 2017 at 04:28:55PM +0200, Maxime Coquelin wrote: Vhost-kernel backend need needs to receive IOTLB entry for used ring information early, which is done by triggerin

Re: [Qemu-devel] [PATCH v2 3/6] vhost: extend ring information update for IOTLB to all rings

2017-05-30 Thread Maxime Coquelin
Hi Michael, On 05/30/2017 08:12 PM, Michael S. Tsirkin wrote: On Fri, May 26, 2017 at 04:28:55PM +0200, Maxime Coquelin wrote: Vhost-kernel backend need needs to receive IOTLB entry for used ring information early, which is done by triggering a miss event on its address. This patch extends

Re: [Qemu-devel] [PATCH v2 3/6] vhost: extend ring information update for IOTLB to all rings

2017-05-30 Thread Michael S. Tsirkin
On Fri, May 26, 2017 at 04:28:55PM +0200, Maxime Coquelin wrote: > Vhost-kernel backend need needs > to receive IOTLB entry for used ring > information early, which is done by triggering a miss event on > its address. > > This patch extends this behaviour to all rings information, to be > compat

[Qemu-devel] [PATCH v2 3/6] vhost: extend ring information update for IOTLB to all rings

2017-05-26 Thread Maxime Coquelin
Vhost-kernel backend need to receive IOTLB entry for used ring information early, which is done by triggering a miss event on its address. This patch extends this behaviour to all rings information, to be compatible with vhost-user backend design. Signed-off-by: Maxime Coquelin --- v2: - Revert