Revision c35734b2 monitor.c
b/monitor.c | ||
---|---|---|
235 | 235 |
term_printf("%s\n", QEMU_VERSION); |
236 | 236 |
} |
237 | 237 |
|
238 |
static void do_info_name(void) |
|
239 |
{ |
|
240 |
if (qemu_name) |
|
241 |
term_printf("%s\n", qemu_name); |
|
242 |
} |
|
243 |
|
|
238 | 244 |
static void do_info_block(void) |
239 | 245 |
{ |
240 | 246 |
bdrv_info(); |
... | ... | |
1314 | 1320 |
"", "show which guest mouse is receiving events" }, |
1315 | 1321 |
{ "vnc", "", do_info_vnc, |
1316 | 1322 |
"", "show the vnc server status"}, |
1323 |
{ "name", "", do_info_name, |
|
1324 |
"", "show the current VM name" }, |
|
1317 | 1325 |
#if defined(TARGET_PPC) |
1318 | 1326 |
{ "cpustats", "", do_info_cpu_stats, |
1319 | 1327 |
"", "show CPU statistics", }, |
Also available in: Unified diff