1 2 3 4 5 6 7 8 9 10 11 12
#include "qemu/osdep.h" #include "qapi/qapi-commands-misc.h" #include "qemu/uuid.h" UuidInfo *qmp_query_uuid(Error **errp) { UuidInfo *info = g_malloc0(sizeof(*info)); info->UUID = g_strdup(UUID_NONE); return info; }