qemu-devel
[Top][All Lists]
Advanced

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

Re: flatview_write_continue global mutex deadlock


From: Stefan Hajnoczi
Subject: Re: flatview_write_continue global mutex deadlock
Date: Fri, 11 Sep 2020 11:44:10 +0100

On Thu, Sep 03, 2020 at 06:42:12PM +0300, Vladimir Sementsov-Ogievskiy wrote:
> But still, is it OK to do blk_drain holding the global mutex? Drain may take 
> a relatively long time, and vm is not responding due to global mutex locked 
> in cpu thread..

This is a fundamental problem in QEMU. Unfortunately I/O requests cannot
be canceled quickly (some protocols do not support cancelation at all).

There are code paths like device reset or monitor commands where drain
can hang for an unbounded amount of time :(.

Stefan

Attachment: signature.asc
Description: PGP signature


reply via email to

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