qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] block: fix streaming/closing race


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH] block: fix streaming/closing race
Date: Fri, 30 Mar 2012 12:00:48 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1

Il 30/03/2012 10:31, Paolo Bonzini ha scritto:
> However, even this is not enough.  It fixes a race with closing, but not
> with deleting bs.  So the bug does not show anymore when you quit QEMU
> (because the coroutine is not restarted), but it is still there if you
> hot-unplug a device while streaming is in effect.

Nevermind, hot-unplug is handled by the reference counting mechanism; so
this patch is enough.  However, we may still want to cancel the job when
a device is hot-unplugged.  I'll resubmit this patch as a series and
with a better commit message.

Paolo



reply via email to

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