[Qemu-devel] [PATCH] change free() to g_free() to pair with g_malloc() series.

2011-10-17 Thread Ray Wang
Signed-off-by: Ray Wang --- block/dmg.c | 14 +++--- target-arm/helper.c |2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/block/dmg.c b/block/dmg.c index 64c3cce..661f31b 100644 --- a/block/dmg.c +++ b/block/dmg.c @@ -284,14 +284,14 @@ static void

Re: [Qemu-devel] [PATCH] target_sparc: Fix use of free() instead of g_free()

2011-10-17 Thread Ray Wang
CState *cpu_sparc_init(const char *cpu_model) Reviewed-by: Ray Wang -- Regards, Ray Wang

Re: [Qemu-devel] [PATCH] cloop.c: use gfree,instead of free

2011-10-16 Thread Ray Wang
-.bdrv_open = cloop_open, -.bdrv_read = cloop_read, -.bdrv_close= cloop_close, +.format_name= "cloop", +.instance_size = sizeof(BDRVCloopState), +.bdrv_probe = cloop_probe, +.bdrv_open = cloop_open, +.bdrv_read = cloop_read, +.bdrv_close = cloop_close, }; static void bdrv_cloop_init(void) Reviewed_by: rayw...@linux.vnet.ibm.com -- Regards, Ray Wang

Re: [Qemu-devel] [PATCH 1/2] gt64xxx.c: fix length modifier in DPRINTF format string

2011-09-27 Thread Ray Wang
Tested-by: Ray Wang On 9/26/2011 1:02 PM, Antony Pavlov wrote: The commit fc2bf44972349b078d8310466c3866615500e67f changed the type of val argument of the function gt64120_writel() from uint32_t to uint64_t, so we need to change the corresponding length modifier from "%x" to

Re: [Qemu-devel] [PATCH] Changed the type of val argument of the function gt64120_writel() from uint32_t to uint64_t, so change the corresponding bswap32() to bswap64().

2011-09-26 Thread Ray Wang
On 9/26/2011 5:46 PM, Peter Maydell wrote: On 26 September 2011 07:22, Ray Wang wrote: diff --git a/hw/gt64xxx.c b/hw/gt64xxx.c index 1c34253..d0a31d2 100644 --- a/hw/gt64xxx.c +++ b/hw/gt64xxx.c @@ -312,7 +312,7 @@ static void gt64120_writel (void *opaque, target_phys_addr_t addr

[Qemu-devel] [PATCH] Changed the type of val argument of the function gt64120_writel() from uint32_t to uint64_t, so change the corresponding bswap32() to bswap64().

2011-09-25 Thread Ray Wang
From: Xianlei Wang Signed-off-by: Xianlei Wang --- hw/gt64xxx.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/gt64xxx.c b/hw/gt64xxx.c index 1c34253..d0a31d2 100644 --- a/hw/gt64xxx.c +++ b/hw/gt64xxx.c @@ -312,7 +312,7 @@ static void gt64120_writel (void *opaq