Re: [Qemu-devel] Logging dirty pages from vhost-net in-kernel with vIOMMU

2018-12-09 Thread Jintack Lim
On Fri, Dec 7, 2018 at 7:37 AM Jason Wang wrote: > > > On 2018/12/6 下午8:44, Jason Wang wrote: > > > > On 2018/12/6 下午8:11, Jintack Lim wrote: > >> On Thu, Dec 6, 2018 at 2:33 AM Jason Wang wrote: > >>> > >>> On 2018/12/5 下午10:47, Jintack Lim wrote: > On Tue, Dec 4, 2018 at 8:30 PM Jason Wang

Re: [Qemu-devel] Logging dirty pages from vhost-net in-kernel with vIOMMU

2018-12-07 Thread Jason Wang
On 2018/12/6 下午8:44, Jason Wang wrote: On 2018/12/6 下午8:11, Jintack Lim wrote: On Thu, Dec 6, 2018 at 2:33 AM Jason Wang wrote: On 2018/12/5 下午10:47, Jintack Lim wrote: On Tue, Dec 4, 2018 at 8:30 PM Jason Wang wrote: On 2018/12/5 上午2:37, Jintack Lim wrote: Hi, I'm wondering how the c

Re: [Qemu-devel] Logging dirty pages from vhost-net in-kernel with vIOMMU

2018-12-06 Thread Jason Wang
On 2018/12/6 下午8:11, Jintack Lim wrote: On Thu, Dec 6, 2018 at 2:33 AM Jason Wang wrote: On 2018/12/5 下午10:47, Jintack Lim wrote: On Tue, Dec 4, 2018 at 8:30 PM Jason Wang wrote: On 2018/12/5 上午2:37, Jintack Lim wrote: Hi, I'm wondering how the current implementation works when logging

Re: [Qemu-devel] Logging dirty pages from vhost-net in-kernel with vIOMMU

2018-12-06 Thread Jintack Lim
On Thu, Dec 6, 2018 at 2:33 AM Jason Wang wrote: > > > On 2018/12/5 下午10:47, Jintack Lim wrote: > > On Tue, Dec 4, 2018 at 8:30 PM Jason Wang wrote: > >> > >> On 2018/12/5 上午2:37, Jintack Lim wrote: > >>> Hi, > >>> > >>> I'm wondering how the current implementation works when logging dirty > >>>

Re: [Qemu-devel] Logging dirty pages from vhost-net in-kernel with vIOMMU

2018-12-05 Thread Jason Wang
On 2018/12/5 下午10:47, Jintack Lim wrote: On Tue, Dec 4, 2018 at 8:30 PM Jason Wang wrote: On 2018/12/5 上午2:37, Jintack Lim wrote: Hi, I'm wondering how the current implementation works when logging dirty pages during migration from vhost-net (in kernel) when used vIOMMU. I understand how

Re: [Qemu-devel] Logging dirty pages from vhost-net in-kernel with vIOMMU

2018-12-05 Thread Jason Wang
On 2018/12/5 下午9:32, Michael S. Tsirkin wrote: On Wed, Dec 05, 2018 at 11:02:11AM +0800, Jason Wang wrote: On 2018/12/5 上午9:59, Michael S. Tsirkin wrote: On Wed, Dec 05, 2018 at 09:30:19AM +0800, Jason Wang wrote: On 2018/12/5 上午2:37, Jintack Lim wrote: Hi, I'm wondering how the current im

Re: [Qemu-devel] Logging dirty pages from vhost-net in-kernel with vIOMMU

2018-12-05 Thread Jintack Lim
On Tue, Dec 4, 2018 at 8:30 PM Jason Wang wrote: > > > On 2018/12/5 上午2:37, Jintack Lim wrote: > > Hi, > > > > I'm wondering how the current implementation works when logging dirty > > pages during migration from vhost-net (in kernel) when used vIOMMU. > > > > I understand how vhost-net logs GPAs

Re: [Qemu-devel] Logging dirty pages from vhost-net in-kernel with vIOMMU

2018-12-05 Thread Michael S. Tsirkin
On Wed, Dec 05, 2018 at 11:02:11AM +0800, Jason Wang wrote: > > On 2018/12/5 上午9:59, Michael S. Tsirkin wrote: > > On Wed, Dec 05, 2018 at 09:30:19AM +0800, Jason Wang wrote: > > > On 2018/12/5 上午2:37, Jintack Lim wrote: > > > > Hi, > > > > > > > > I'm wondering how the current implementation wor

Re: [Qemu-devel] Logging dirty pages from vhost-net in-kernel with vIOMMU

2018-12-04 Thread Jason Wang
On 2018/12/5 上午9:59, Michael S. Tsirkin wrote: On Wed, Dec 05, 2018 at 09:30:19AM +0800, Jason Wang wrote: On 2018/12/5 上午2:37, Jintack Lim wrote: Hi, I'm wondering how the current implementation works when logging dirty pages during migration from vhost-net (in kernel) when used vIOMMU. I

Re: [Qemu-devel] Logging dirty pages from vhost-net in-kernel with vIOMMU

2018-12-04 Thread Michael S. Tsirkin
On Wed, Dec 05, 2018 at 09:30:19AM +0800, Jason Wang wrote: > > On 2018/12/5 上午2:37, Jintack Lim wrote: > > Hi, > > > > I'm wondering how the current implementation works when logging dirty > > pages during migration from vhost-net (in kernel) when used vIOMMU. > > > > I understand how vhost-net

Re: [Qemu-devel] Logging dirty pages from vhost-net in-kernel with vIOMMU

2018-12-04 Thread Jason Wang
On 2018/12/5 上午2:37, Jintack Lim wrote: Hi, I'm wondering how the current implementation works when logging dirty pages during migration from vhost-net (in kernel) when used vIOMMU. I understand how vhost-net logs GPAs when not using vIOMMU. But when we use vhost with vIOMMU, then shouldn't v

[Qemu-devel] Logging dirty pages from vhost-net in-kernel with vIOMMU

2018-12-04 Thread Jintack Lim
Hi, I'm wondering how the current implementation works when logging dirty pages during migration from vhost-net (in kernel) when used vIOMMU. I understand how vhost-net logs GPAs when not using vIOMMU. But when we use vhost with vIOMMU, then shouldn't vhost-net need to log the translated address