[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] QEMUFileBuffered: indicate that we're ready whe
Re: [Qemu-devel] [PATCH] QEMUFileBuffered: indicate that we're ready when the underlying file is ready
Sun, 29 Aug 2010 12:00:28 +0300
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:18.104.22.168) Gecko/20100806 Fedora/3.1.2-1.fc13 Lightning/1.0b2pre Thunderbird/3.1.2
On 08/19/2010 06:19 PM, Anthony Liguori wrote:
On 07/07/2010 11:44 AM, Avi Kivity wrote:
QEMUFileBuffered stops writing when the underlying QEMUFile is not
and tells its producer so. However, when the underlying QEMUFile
ready, it neglects to pass that information along, resulting in stoppage
of all data until the next tick (a tenths of a second).
Usually this doesn't matter, because most QEMUFiles used with
are almost always ready, but in the case of exec: migration this is
due to the small pipe buffers used to connect to the target process.
result is very slow migration.
Fix by detecting the readiness notification and propagating it. The
is a little ugly since QEMUFile overloads put_buffer() to send it,
the suject for a different patch.
Signed-off-by: Avi Kivity<address@hidden>\
Should be applied to stable-0.13 as well.
error compiling committee.c: too many arguments to function