qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 04/10] blockdev: acquire AioContext in hmp_commi


From: Denis V. Lunev
Subject: Re: [Qemu-devel] [PATCH 04/10] blockdev: acquire AioContext in hmp_commit()
Date: Tue, 3 Nov 2015 17:38:05 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 11/03/2015 05:12 PM, Denis V. Lunev wrote:
From: Stefan Hajnoczi <address@hidden>

This one slipped through.  Although we acquire AioContext when
committing all devices we don't for just a single device.

AioContext must be acquired before calling bdrv_*() functions to
synchronize access with other threads that may be using the AioContext.

Signed-off-by: Stefan Hajnoczi <address@hidden>
Signed-off-by: Denis V. Lunev <address@hidden>
this was Reviewed-by: Jeff Cody <address@hidden> in
the original submission.

Lost that accidentally.



reply via email to

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