qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] migration: qemu-coroutine-lock.c:141: qemu_co_mutex_unl


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] migration: qemu-coroutine-lock.c:141: qemu_co_mutex_unlock: Assertion `mutex->locked == 1' failed
Date: Wed, 17 Sep 2014 16:07:32 +0100

On Wed, Sep 17, 2014 at 2:44 PM, Alexey Kardashevskiy <address@hidden> wrote:
> On 09/17/2014 07:25 PM, Paolo Bonzini wrote:
> btw any better idea of a hack to try? Testers are pushing me - they want to
> upgrade the broken setup and I am blocking them :) Thanks!

Paolo's qemu_co_mutex_lock(&s->lock) idea in qcow2_invalidate_cache()
is good.  Have you tried that patch?

I haven't checked the qcow2 code whether that works properly across
bdrv_close() (is the lock freed?) but in principle that's how you
protect against concurrent I/O.

Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]