Re: [Qemu-devel] [PATCH v4 1/2] ramblock: add RAMBLOCK_FOREACH()

2017-05-08 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > So that it can simplifies the iterators. > > Signed-off-by: Peter Xu Reviewed-by: Dr. David Alan Gilbert > --- > exec.c | 22 +++--- > include/exec/ramlist.h | 5 + > migration/ram.c| 15 --- > 3

[Qemu-devel] [PATCH v4 1/2] ramblock: add RAMBLOCK_FOREACH()

2017-05-07 Thread Peter Xu
So that it can simplifies the iterators. Signed-off-by: Peter Xu --- exec.c | 22 +++--- include/exec/ramlist.h | 5 + migration/ram.c| 15 --- 3 files changed, 24 insertions(+), 18 deletions(-) diff --git a/exec.c b/exec.c index eac6085.