Re: [Qemu-devel] [PATCH 07/12] migration/qemu-file: add qemu_put_counted_string()

2015-09-10 Thread John Snow
On 08/07/2015 05:32 AM, 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. > > Signed-off-

[Qemu-devel] [PATCH 07/12] migration/qemu-file: add qemu_put_counted_string()

2015-08-07 Thread Vladimir Sementsov-Ogievskiy
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. Signed-off-by: Vladimir Sementsov-Ogievskiy --- include/migration/qemu-file.h | 2 +