Re: [Qemu-devel] [PATCH 23/51] ram: Everything was init to zero, so use memset

2017-03-29 Thread Peter Xu
On Thu, Mar 23, 2017 at 09:45:16PM +0100, Juan Quintela wrote: > And then init only things that are not zero by default. > > Signed-off-by: Juan Quintela Reviewed-by: Peter Xu -- peterx

Re: [Qemu-devel] [PATCH 23/51] ram: Everything was init to zero, so use memset

2017-03-29 Thread Dr. David Alan Gilbert
* Juan Quintela (quint...@redhat.com) wrote: > And then init only things that are not zero by default. > > Signed-off-by: Juan Quintela Reviewed-by: Dr. David Alan Gilbert > --- > migration/ram.c | 25 +++-- > 1 file changed, 3 insertions(+), 22 deletions(-) > > diff --gi

[Qemu-devel] [PATCH 23/51] ram: Everything was init to zero, so use memset

2017-03-23 Thread Juan Quintela
And then init only things that are not zero by default. Signed-off-by: Juan Quintela --- migration/ram.c | 25 +++-- 1 file changed, 3 insertions(+), 22 deletions(-) diff --git a/migration/ram.c b/migration/ram.c index c6ba92c..a890179 100644 --- a/migration/ram.c +++ b/migr