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