From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38102) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVxQU-0006IX-97 for qemu-devel@nongnu.org; Tue, 24 Jan 2017 04:30:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVxQT-0006T1-Ji for qemu-devel@nongnu.org; Tue, 24 Jan 2017 04:30:06 -0500 From: Juan Quintela In-Reply-To: <1479837270-79005-11-git-send-email-vsementsov@virtuozzo.com> (Vladimir Sementsov-Ogievskiy's message of "Tue, 22 Nov 2016 20:54:23 +0300") References: <1479837270-79005-1-git-send-email-vsementsov@virtuozzo.com> <1479837270-79005-11-git-send-email-vsementsov@virtuozzo.com> Reply-To: quintela@redhat.com Date: Tue, 24 Jan 2017 10:29:55 +0100 Message-ID: <87efzsajqk.fsf@emacs.mitica> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH 10/17] migration/qemu-file: add qemu_put_counted_string() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vladimir Sementsov-Ogievskiy Cc: qemu-block@nongnu.org, qemu-devel@nongnu.org, pbonzini@redhat.com, armbru@redhat.com, eblake@redhat.com, famz@redhat.com, stefanha@redhat.com, amit.shah@redhat.com, mreitz@redhat.com, kwolf@redhat.com, peter.maydell@linaro.org, dgilbert@redhat.com, den@openvz.org, jsnow@redhat.com, lirans@il.ibm.com Vladimir Sementsov-Ogievskiy wrote: > Add function opposite to qemu_get_counted_string. > qemu_put_counted_string puts one-byte length of the string (string > should not be longer than 255 characters), and then it puts the string, > without last zero byte. > > Reviewed-by: John Snow > Signed-off-by: Vladimir Sementsov-Ogievskiy Reviewed-by: Juan Quintela