diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-10-10 15:15:51 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-10-10 15:15:51 +0000 |
commit | 9bc9d1c75abf23b1a11c8e633fe5eeb3d6d4c8d3 (patch) | |
tree | 4f6051f9dba109221e30ac24caa65649e988b6fb /monitor.c | |
parent | 8926b517e9ebe20a4348f445e9d0c7f11029eb57 (diff) |
info version command
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1115 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -190,6 +190,11 @@ static void do_info(const char *item) cmd->handler(); } +static void do_info_version(void) +{ + term_printf("%s\n", QEMU_VERSION); +} + static void do_info_network(void) { int i, j; @@ -864,6 +869,8 @@ static term_cmd_t term_cmds[] = { }; static term_cmd_t info_cmds[] = { + { "version", "", do_info_version, + "", "show the version of qemu" }, { "network", "", do_info_network, "", "show the network state" }, { "block", "", do_info_block, |