From: "Bjørn Mork" <bjorn@mork.no>
To: kvm@vger.kernel.org
Subject: [PATCH] Add KVM version to monitor "info version"
Date: Wed, 26 Nov 2008 11:22:03 +0100 [thread overview]
Message-ID: <87abbmn5x0.fsf@obelix.mork.no> (raw)
Trying to track the current KVM head as closely as possible, I often
find myself wondering which KVM version a particular guest instance is
running. The attached patch adds this information to the monitor
command "info version":
(qemu) info version
0.9.1 (kvm-79)
Signed-off-by: Bjørn Mork <bjorn@mork.no>
---
qemu/monitor.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/qemu/monitor.c b/qemu/monitor.c
index a58a18e..f61fe56 100644
--- a/qemu/monitor.c
+++ b/qemu/monitor.c
@@ -246,7 +246,7 @@ static void do_info(const char *item)
static void do_info_version(void)
{
- term_printf("%s\n", QEMU_VERSION);
+ term_printf("%s\n", QEMU_VERSION " (" KVM_VERSION ")");
}
static void do_info_name(void)
next reply other threads:[~2008-11-26 10:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-26 10:22 Bjørn Mork [this message]
2008-11-26 10:55 ` [PATCH] Add KVM version to monitor "info version" Daniel P. Berrange
2008-11-26 11:18 ` Glauber Costa
2008-11-26 11:23 ` Avi Kivity
2008-12-08 13:37 ` Bjørn Mork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87abbmn5x0.fsf@obelix.mork.no \
--to=bjorn@mork.no \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.