From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M6qDc-0001pD-Vu for qemu-devel@nongnu.org; Wed, 20 May 2009 14:08:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M6qDY-0001lI-GF for qemu-devel@nongnu.org; Wed, 20 May 2009 14:08:44 -0400 Received: from [199.232.76.173] (port=38591 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6qDY-0001lF-B4 for qemu-devel@nongnu.org; Wed, 20 May 2009 14:08:40 -0400 Received: from mx2.redhat.com ([66.187.237.31]:49957) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M6qDX-0001n7-Qm for qemu-devel@nongnu.org; Wed, 20 May 2009 14:08:40 -0400 Message-ID: <4A144729.9040606@redhat.com> Date: Wed, 20 May 2009 21:08:41 +0300 From: Avi Kivity MIME-Version: 1.0 References: <200905201426.n4KEQ2gm008223@d03av02.boulder.ibm.com> In-Reply-To: <200905201426.n4KEQ2gm008223@d03av02.boulder.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [Qemu-commits] [COMMIT 95b134e] migrate.c: migrate_fd_put_buffer: Do not busyloop:stop writing if EWOULDBLOCK List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Uri Lublin , qemu-devel@nongnu.org Anthony Liguori wrote: > From: Uri Lublin > > The migration code is non-blocking, designed for live migration. > > Practically migrate_fd_put_buffer busy-loops trying to write, as > on many machines EWOULDBLOCK==EAGAIN (look in include/asm-generic/errno.h). > > stable? -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.