From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55996) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vj5wE-0003ZY-LO for qemu-devel@nongnu.org; Wed, 20 Nov 2013 06:27:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vj5w9-0004gd-UD for qemu-devel@nongnu.org; Wed, 20 Nov 2013 06:27:18 -0500 Received: from mx1.redhat.com ([209.132.183.28]:61064) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vj5w9-0004gL-N8 for qemu-devel@nongnu.org; Wed, 20 Nov 2013 06:27:13 -0500 From: Juan Quintela In-Reply-To: (Wangting's message of "Tue, 19 Nov 2013 05:53:45 +0000") References: Date: Wed, 20 Nov 2013 12:27:09 +0100 Message-ID: <87hab7e2k2.fsf@elfo.elfo> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH] the calculation of bytes_xfer in qemu_put_buffer() is wrong Reply-To: quintela@redhat.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Wangting (Kathy)" Cc: "zhangmin (S)" , Luonengjun , "qemu-devel@nongnu.org" , Qinling , "Chentao (Boby)" , "Wangrui (K)" , "pbonzini@redhat.com" , "Wubin (H)" "Wangting (Kathy)" wrote: > In qemu_put_buffer(), bytes_xfer += size is wrong, it will be more > than expected, and should be bytes_xfer += l. > > Signed-off-by: zhangmin > Good spot. Applied and sent pull request to Anthony.