Revision f1f23ad5 monitor.c

b/monitor.c
249 249
        term_printf("%s\n", qemu_name);
250 250
}
251 251

  
252
static void do_info_uuid(void)
253
{
254
    term_printf(UUID_FMT "\n", qemu_uuid[0], qemu_uuid[1], qemu_uuid[2],
255
            qemu_uuid[3], qemu_uuid[4], qemu_uuid[5], qemu_uuid[6],
256
            qemu_uuid[7], qemu_uuid[8], qemu_uuid[9], qemu_uuid[10],
257
            qemu_uuid[11], qemu_uuid[12], qemu_uuid[13], qemu_uuid[14],
258
            qemu_uuid[15]);
259
}
260

  
252 261
static void do_info_block(void)
253 262
{
254 263
    bdrv_info();
......
1497 1506
      "", "show the vnc server status"},
1498 1507
    { "name", "", do_info_name,
1499 1508
      "", "show the current VM name" },
1509
    { "uuid", "", do_info_uuid,
1510
      "", "show the current VM UUID" },
1500 1511
#if defined(TARGET_PPC)
1501 1512
    { "cpustats", "", do_info_cpu_stats,
1502 1513
      "", "show CPU statistics", },

Also available in: Unified diff