qemu-patch-raspberry4/stubs/uuid.c
Paolo Bonzini 5accc8408f scsi: prefer UUID to VM name for the initiator name
The UUID is unique even across multiple hosts, thus it is
better than a VM name even if it is less user-friendly.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2013-09-12 08:46:21 +02:00

13 lines
226 B
C

#include "qemu-common.h"
#include "sysemu/sysemu.h"
#include "qmp-commands.h"
UuidInfo *qmp_query_uuid(Error **errp)
{
UuidInfo *info = g_malloc0(sizeof(*info));
info->UUID = g_strdup(UUID_NONE);
return info;
}