[Qemu-devel] [PATCH] qcow2: fix two memory leaks in qcow2_open error code path

2014-03-28 Thread Prasad Joshi
Signed-off-by: Prasad Joshi --- block/qcow2.c | 4 1 file changed, 4 insertions(+) diff --git a/block/qcow2.c b/block/qcow2.c index b9dc960..10eccf9 100644 --- a/block/qcow2.c +++ b/block/qcow2.c @@ -506,6 +506,7 @@ static int qcow2_open(BlockDriverState *bs, QDict *options, int flags

[Qemu-devel] [PATCH] qemu-img: Release refernece to BlockDriverState

2014-03-25 Thread Prasad Joshi
Signed-off-by: Prasad Joshi --- qemu-img.c | 1 + 1 file changed, 1 insertion(+) diff --git a/qemu-img.c b/qemu-img.c index 2e40cc1..3d110d9 100644 --- a/qemu-img.c +++ b/qemu-img.c @@ -1809,6 +1809,7 @@ static ImageInfoList *collect_image_info_list(const char *filename, if (err

[Qemu-devel] [PATCH] qemu-img: mandate argument to 'qemu-img check --repair'

2014-03-24 Thread Prasad Joshi
from /lib/x86_64-linux-gnu/libc.so.6 2 _start () (gdb) Signed-off-by: Prasad Joshi --- qemu-img.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu-img.c b/qemu-img.c index 2e40cc1..77d946b 100644 --- a/qemu-img.c +++ b/qemu-img.c @@ -565,7 +565,7 @@ static

Re: [Qemu-devel] [PATCH] spapr_vscsi: remove duplicate condition check

2014-03-24 Thread Prasad Joshi
On Mon, Mar 24, 2014 at 9:15 PM, Paolo Bonzini wrote: > Il 24/03/2014 16:44, Prasad Joshi ha scritto: > >> Signed-off-by: Prasad Joshi >> --- >> hw/scsi/spapr_vscsi.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/hw/

[Qemu-devel] [PATCH] spapr_vscsi: remove duplicate condition check

2014-03-24 Thread Prasad Joshi
Signed-off-by: Prasad Joshi --- hw/scsi/spapr_vscsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/scsi/spapr_vscsi.c b/hw/scsi/spapr_vscsi.c index 34478f0..d4ada4f 100644 --- a/hw/scsi/spapr_vscsi.c +++ b/hw/scsi/spapr_vscsi.c @@ -690,7 +690,7 @@ static void

[Qemu-devel] [PATCH 4/6] hw/timer/grlib_gptimer: remove unnecessary assignment

2014-03-23 Thread Prasad Joshi
Signed-off-by: Prasad Joshi --- hw/timer/grlib_gptimer.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/timer/grlib_gptimer.c b/hw/timer/grlib_gptimer.c index 7672d3a..d655bb2 100644 --- a/hw/timer/grlib_gptimer.c +++ b/hw/timer/grlib_gptimer.c @@ -328,7 +328,6 @@ static void

[Qemu-devel] [PATCH 3/6] pcnet: remove duplicate assignment

2014-03-23 Thread Prasad Joshi
Signed-off-by: Prasad Joshi --- hw/net/pcnet.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/net/pcnet.c b/hw/net/pcnet.c index 7cb47b3..ebe5057 100644 --- a/hw/net/pcnet.c +++ b/hw/net/pcnet.c @@ -718,7 +718,6 @@ static void pcnet_s_reset(PCNetState *s) s->csr[94] = 0x;

[Qemu-devel] [PATCH 6/6] net: netmap_poll must update both read/write poll state

2014-03-23 Thread Prasad Joshi
Signed-off-by: Prasad Joshi --- net/netmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/netmap.c b/net/netmap.c index 8213304..0c1772b 100644 --- a/net/netmap.c +++ b/net/netmap.c @@ -177,8 +177,8 @@ static void netmap_poll(NetClientState *nc, bool enable

[Qemu-devel] [PATCH 2/6] intc/openpic_kvm: fix MemListener delete regiion callback function

2014-03-23 Thread Prasad Joshi
Signed-off-by: Prasad Joshi --- hw/intc/openpic_kvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/intc/openpic_kvm.c b/hw/intc/openpic_kvm.c index 87fdb12..afa604d 100644 --- a/hw/intc/openpic_kvm.c +++ b/hw/intc/openpic_kvm.c @@ -200,7 +200,7 @@ static void

[Qemu-devel] [PATCH 1/6] audio: set top level latch for each slot

2014-03-23 Thread Prasad Joshi
CSMKeyControll function is supposed to set the top level latch for each slot. However, at the moment, it incorrectly updates only the first slot. Patch fixes the problem. Signed-off-by: Prasad Joshi --- hw/audio/fmopl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw

[Qemu-devel] [PATCH 5/6] linux-user: remove duplicate statement

2014-03-23 Thread Prasad Joshi
Signed-off-by: Prasad Joshi --- linux-user/signal.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/linux-user/signal.c b/linux-user/signal.c index e5fb933..7d6246f 100644 --- a/linux-user/signal.c +++ b/linux-user/signal.c @@ -4043,8 +4043,6 @@ static void setup_rt_frame(int sig, struct

[Qemu-devel] [PATCH] scsi: check req pointer before dereferencing it

2014-03-18 Thread Prasad Joshi
Signed-off-by: Prasad Joshi --- hw/scsi/vmw_pvscsi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/scsi/vmw_pvscsi.c b/hw/scsi/vmw_pvscsi.c index 7d344b9..e35bff7 100644 --- a/hw/scsi/vmw_pvscsi.c +++ b/hw/scsi/vmw_pvscsi.c @@ -479,12 +479,13 @@ static void

[Qemu-devel] QEMU Uncompressing Linux.... stalls

2010-12-09 Thread Prasad Joshi
Hello All, I built an arm-linux kernel and trying to boot it using QEMU. But it stalls after showing 'Uncompressing Linux...' $ qemu-system-arm -M realview-pbx-a9 -kernel clfskernel-2.6.36 -initrd rootfs.gz -append "console=ttyAMA0 root=/dev/sda1 rw ramdisk_size=32678" -m 256 -nographic Uncompres

Re: [Qemu-devel] qemu: hardware error: pl011_read: Bad offset 16000018

2010-11-29 Thread Prasad Joshi
On Mon, Nov 29, 2010 at 3:13 PM, Peter Maydell wrote: > On 29 November 2010 14:37, Prasad Joshi wrote: >> I am running QEMU Arm emulation on x86_64 machine. I downloaded the >> arm-test kernel and the initrd image available on QEMU download site. >> >> When I run t

[Qemu-devel] qemu: hardware error: pl011_read: Bad offset 16000018

2010-11-29 Thread Prasad Joshi
Hello All, I am running QEMU Arm emulation on x86_64 machine. I downloaded the arm-test kernel and the initrd image available on QEMU download site. When I run the qemu-system-arm with the memory less than or equal to 256M everything works fine. pra...@prasad-desktop:~/Downloads/arm-test$ qemu-sy