Re: [Qemu-devel] fixing qemu-0.1X endless loop in qcow2_alloc_cluster_offset

2012-11-09 Thread Andreas Färber
Am 15.10.2012 11:13, schrieb Kevin Wolf: > What I'm suggesting (not even compile tested!) is: > > Signed-off-by: Kevin Wolf > > diff --git a/block/qcow2.c b/block/qcow2.c > index 48e1b95..d665675 100644 > --- a/block/qcow2.c > +++ b/block/qcow2.c > @@ -388,10 +388,7 @@ typedef struct QCowAIOCB {

Re: [Qemu-devel] fixing qemu-0.1X endless loop in qcow2_alloc_cluster_offset

2012-10-15 Thread 周洲仪
Hi Kevin > Am 15.10.2012 16:28, schrieb Andreas Färber: > >> What I'm suggesting (not even compile tested!) is: > >> > >> Signed-off-by: Kevin Wolf > >> > >> diff --git a/block/qcow2.c b/block/qcow2.c > >> index 48e1b95..d665675 100644 > >> --- a/block/qcow2.c > >> +++ b/block/qcow2.c > >> @@ -388

Re: [Qemu-devel] fixing qemu-0.1X endless loop in qcow2_alloc_cluster_offset

2012-10-15 Thread Kevin Wolf
Am 15.10.2012 16:28, schrieb Andreas Färber: >> What I'm suggesting (not even compile tested!) is: >> >> Signed-off-by: Kevin Wolf >> >> diff --git a/block/qcow2.c b/block/qcow2.c >> index 48e1b95..d665675 100644 >> --- a/block/qcow2.c >> +++ b/block/qcow2.c >> @@ -388,10 +388,7 @@ typedef struct

Re: [Qemu-devel] fixing qemu-0.1X endless loop in qcow2_alloc_cluster_offset

2012-10-15 Thread Andreas Färber
Am 15.10.2012 11:13, schrieb Kevin Wolf: > Am 12.10.2012 17:52, schrieb Andreas Färber: >> Am 12.06.2012 15:44, schrieb Kevin Wolf: >>> Am 12.06.2012 15:33, schrieb Andreas Färber: Am 14.05.2012 14:20, schrieb Kevin Wolf: > Am 13.05.2012 10:03, schrieb Zhouyi Zhou: >> sometimes, qemu

Re: [Qemu-devel] fixing qemu-0.1X endless loop in qcow2_alloc_cluster_offset

2012-10-15 Thread Kevin Wolf
Am 12.10.2012 17:52, schrieb Andreas Färber: > Am 12.06.2012 15:44, schrieb Kevin Wolf: >> Am 12.06.2012 15:33, schrieb Andreas Färber: >>> Am 14.05.2012 14:20, schrieb Kevin Wolf: Am 13.05.2012 10:03, schrieb Zhouyi Zhou: > hi all > > sometimes, qemu/kvm-0.1x will hang in end

Re: [Qemu-devel] fixing qemu-0.1X endless loop in qcow2_alloc_cluster_offset

2012-10-12 Thread Andreas Färber
Am 12.06.2012 15:44, schrieb Kevin Wolf: > Am 12.06.2012 15:33, schrieb Andreas Färber: >> Am 14.05.2012 14:20, schrieb Kevin Wolf: >>> Am 13.05.2012 10:03, schrieb Zhouyi Zhou: hi all sometimes, qemu/kvm-0.1x will hang in endless loop in qcow2_alloc_cluster_offset.

Re: [Qemu-devel] fixing qemu-0.1X endless loop in qcow2_alloc_cluster_offset

2012-06-12 Thread Kevin Wolf
Am 12.06.2012 15:33, schrieb Andreas Färber: > Am 14.05.2012 14:20, schrieb Kevin Wolf: >> Am 13.05.2012 10:03, schrieb Zhouyi Zhou: >>> hi all >>> >>> sometimes, qemu/kvm-0.1x will hang in endless loop in >>> qcow2_alloc_cluster_offset. >>> after some investigation, I found that: >>> in

Re: [Qemu-devel] fixing qemu-0.1X endless loop in qcow2_alloc_cluster_offset

2012-06-12 Thread Andreas Färber
Am 14.05.2012 14:20, schrieb Kevin Wolf: > Am 13.05.2012 10:03, schrieb Zhouyi Zhou: >> hi all >> >> sometimes, qemu/kvm-0.1x will hang in endless loop in >> qcow2_alloc_cluster_offset. >> after some investigation, I found that: >> in function posix_aio_process_queue(void *opaque) >> 440

Re: [Qemu-devel] fixing qemu-0.1X endless loop in qcow2_alloc_cluster_offset

2012-05-14 Thread Kevin Wolf
Am 13.05.2012 10:03, schrieb Zhouyi Zhou: > hi all > > sometimes, qemu/kvm-0.1x will hang in endless loop in > qcow2_alloc_cluster_offset. > after some investigation, I found that: > in function posix_aio_process_queue(void *opaque) > 440 ret = qemu_paio_error(acb); > 441

[Qemu-devel] fixing qemu-0.1X endless loop in qcow2_alloc_cluster_offset

2012-05-13 Thread Zhouyi Zhou
hi all sometimes, qemu/kvm-0.1x will hang in endless loop in qcow2_alloc_cluster_offset. after some investigation, I found that: in function posix_aio_process_queue(void *opaque) 440 ret = qemu_paio_error(acb); 441 if (ret == ECANCELED) { 442 /* rem