6ede082daf
qemu_uuid_unparse() includes a trailing NUL when writing the uuid
string and the buffer size should be UUID_FMT_LEN + 1 bytes. Add a
define for this size and use it where required.
Cc: Fam Zheng <fam@euphon.net>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: "Denis V. Lunev" <den@openvz.org>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
hyperv_testdev.c | ||
hyperv.c | ||
Kconfig | ||
meson.build | ||
syndbg.c | ||
trace-events | ||
trace.h | ||
vmbus.c |