Re: [Qemu-devel] [PATCH 8/8] exec: add read callback for notdirty memory region

2018-09-13 Thread Paolo Bonzini
On 12/09/2018 18:01, Li Qiang wrote: > From: Li Qiang > > Signed-off-by: Li Qiang This cannot happen, since TLB_NOTDIRTY is only added to the addr_write member (see accel/tcg/cputlb.c). Paolo > --- > exec.c | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/exec.c b/exec.c >

[Qemu-devel] [PATCH 8/8] exec: add read callback for notdirty memory region

2018-09-12 Thread Li Qiang
From: Li Qiang Signed-off-by: Li Qiang --- exec.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/exec.c b/exec.c index 6826c8337d..3cd5ad2cae 100644 --- a/exec.c +++ b/exec.c @@ -2681,6 +2681,11 @@ void memory_notdirty_write_complete(NotDirtyInfo *ndi) } } +static uint64_t