Re: [Qemu-devel] [PATCH] target: hax: replace g_malloc with g_malloc0

2018-11-22 Thread Paolo Bonzini
On 22/11/18 13:08, Laurent Vivier wrote: > On 21/11/2018 18:55, Paolo Bonzini wrote: >> On 15/11/18 07:05, Li Qiang wrote: >>> And also the g_malloc doesn't need check return value, >>> remove it. >>> >>> Cc: qemu-triv...@nongnu.org >>> >>> Signed-off-by: Li Qiang >>> --- >>>

Re: [Qemu-devel] [PATCH] target: hax: replace g_malloc with g_malloc0

2018-11-22 Thread Laurent Vivier
On 21/11/2018 18:55, Paolo Bonzini wrote: > On 15/11/18 07:05, Li Qiang wrote: >> And also the g_malloc doesn't need check return value, >> remove it. >> >> Cc: qemu-triv...@nongnu.org >> >> Signed-off-by: Li Qiang >> --- >> target/i386/hax-all.c | 15 +++ >> 1 file changed, 3

Re: [Qemu-devel] [PATCH] target: hax: replace g_malloc with g_malloc0

2018-11-21 Thread Paolo Bonzini
On 15/11/18 07:05, Li Qiang wrote: > And also the g_malloc doesn't need check return value, > remove it. > > Cc: qemu-triv...@nongnu.org > > Signed-off-by: Li Qiang > --- > target/i386/hax-all.c | 15 +++ > 1 file changed, 3 insertions(+), 12 deletions(-) > > diff --git

Re: [Qemu-devel] [PATCH] target: hax: replace g_malloc with g_malloc0

2018-11-15 Thread Markus Armbruster
Your e-mail From: header is messed up. Please fix. root writes: > From: Li Qiang > > And also the g_malloc doesn't need check return value, > remove it. > > Cc: qemu-triv...@nongnu.org > > Signed-off-by: Li Qiang > --- > target/i386/hax-all.c | 15 +++ > 1 file changed, 3

Re: [Qemu-devel] [PATCH] target: hax: replace g_malloc with g_malloc0

2018-11-15 Thread Philippe Mathieu-Daudé
On 15/11/18 7:05, Li Qiang wrote: And also the g_malloc doesn't need check return value, remove it. Cc: qemu-triv...@nongnu.org Signed-off-by: Li Qiang --- target/i386/hax-all.c | 15 +++ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/target/i386/hax-all.c

Re: [Qemu-devel] [PATCH] target: hax: replace g_malloc with g_malloc0

2018-11-15 Thread Alex Bennée
Li Qiang writes: > And also the g_malloc doesn't need check return value, > remove it. > > Cc: qemu-triv...@nongnu.org > > Signed-off-by: Li Qiang Reviewed-by: Alex Bennée > --- > target/i386/hax-all.c | 15 +++ > 1 file changed, 3 insertions(+), 12 deletions(-) > > diff --git

[Qemu-devel] [PATCH] target: hax: replace g_malloc with g_malloc0

2018-11-15 Thread root
From: Li Qiang And also the g_malloc doesn't need check return value, remove it. Cc: qemu-triv...@nongnu.org Signed-off-by: Li Qiang --- target/i386/hax-all.c | 15 +++ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/target/i386/hax-all.c b/target/i386/hax-all.c

[Qemu-devel] [PATCH] target: hax: replace g_malloc with g_malloc0

2018-11-14 Thread Li Qiang
And also the g_malloc doesn't need check return value, remove it. Cc: qemu-triv...@nongnu.org Signed-off-by: Li Qiang --- target/i386/hax-all.c | 15 +++ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/target/i386/hax-all.c b/target/i386/hax-all.c index