diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2011-09-13 17:16:25 -0300 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2011-10-04 11:02:57 -0300 |
commit | efab767eaafe39a234e8244819d0969ff59a325a (patch) | |
tree | 08406c2ce1553d34f7c5d60cf75b4cb55be2b343 /hmp.c | |
parent | 1fa9a5e4aea36b4d21e42323ae43879c908af576 (diff) |
qapi: Convert query-uuid
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'hmp.c')
-rw-r--r-- | hmp.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -72,3 +72,11 @@ void hmp_info_status(Monitor *mon) qapi_free_StatusInfo(info); } +void hmp_info_uuid(Monitor *mon) +{ + UuidInfo *info; + + info = qmp_query_uuid(NULL); + monitor_printf(mon, "%s\n", info->UUID); + qapi_free_UuidInfo(info); +} |