exec: set map length to zero when returning NULL
[qemu/kevin.git] / stubs / uuid.c
blob67f182fa3aa07dc6583d2b0aba213360c1e41945
1 #include "qemu/osdep.h"
2 #include "qapi/qapi-commands-misc.h"
3 #include "qemu/uuid.h"
5 UuidInfo *qmp_query_uuid(Error **errp)
7 UuidInfo *info = g_malloc0(sizeof(*info));
9 info->UUID = g_strdup(UUID_NONE);
10 return info;