All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Add KVM version to monitor "info version"
@ 2008-11-26 10:22 Bjørn Mork
  2008-11-26 10:55 ` Daniel P. Berrange
  0 siblings, 1 reply; 5+ messages in thread
From: Bjørn Mork @ 2008-11-26 10:22 UTC (permalink / raw)
  To: kvm

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)


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-12-08 13:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-26 10:22 [PATCH] Add KVM version to monitor "info version" Bjørn Mork
2008-11-26 10:55 ` 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

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.