summaryrefslogtreecommitdiff
path: root/stubs/uuid.c
diff options
context:
space:
mode:
Diffstat (limited to 'stubs/uuid.c')
-rw-r--r--stubs/uuid.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/stubs/uuid.c b/stubs/uuid.c
new file mode 100644
index 0000000000..ffc0ed40ae
--- /dev/null
+++ b/stubs/uuid.c
@@ -0,0 +1,12 @@
+#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;
+}
+