]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hmp.c
Merge remote-tracking branch 'remotes/xtensa/tags/20170306-xtensa' into staging
[mirror_qemu.git] / hmp.c
diff --git a/hmp.c b/hmp.c
index 7b44e64c848e5e67dd05a58e860d537b8fe146cb..261843f7a25e84e6130187367966b879766135af 100644 (file)
--- a/hmp.c
+++ b/hmp.c
@@ -2605,3 +2605,12 @@ void hmp_hotpluggable_cpus(Monitor *mon, const QDict *qdict)
 
     qapi_free_HotpluggableCPUList(saved);
 }
+
+void hmp_info_vm_generation_id(Monitor *mon, const QDict *qdict)
+{
+    GuidInfo *info = qmp_query_vm_generation_id(NULL);
+    if (info) {
+        monitor_printf(mon, "%s\n", info->guid);
+    }
+    qapi_free_GuidInfo(info);
+}