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

2016-11-20 Thread Vladimir Sementsov-Ogievskiy
17.08.2016 12:09, Fam Zheng wrote: On Tue, 08/16 13:26, 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 ze

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

2016-08-17 Thread Fam Zheng
On Tue, 08/16 13:26, 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: Joh

[Qemu-devel] [PATCH 10/18] migration/qemu-file: add qemu_put_counted_string()

2016-08-16 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. Reviewed-by: John Snow Signed-off-by: Vladimir Sementsov-Ogievskiy --- include/mig