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 <[EMAIL PROTECTED]>
---
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)
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html