qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] kvm: add kvm version to the "info kvm" monitor command
@ 2009-07-29 11:03 Bjørn Mork
  2009-07-29 18:48 ` Luiz Capitulino
  2009-07-29 20:58 ` Anthony Liguori
  0 siblings, 2 replies; 6+ messages in thread
From: Bjørn Mork @ 2009-07-29 11:03 UTC (permalink / raw)
  To: qemu-devel; +Cc: Bjørn Mork

There isn't a one-to-one mapping between the KVM version and
the QEMU version output from "info version".  Complete the
picture by adding the KVM version to the existing "info kvm"
monitor command.

 (qemu) info kvm
 kvm support: enabled
 kvm version: kvm-85

Signed-off-by: Bjørn Mork <bjorn@mork.no>
---
 monitor.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/monitor.c b/monitor.c
index 99c174c..53463e9 100644
--- a/monitor.c
+++ b/monitor.c
@@ -1428,6 +1428,7 @@ static void do_info_kvm(Monitor *mon)
         monitor_printf(mon, "enabled\n");
     else
         monitor_printf(mon, "disabled\n");
+    monitor_printf(mon, "kvm version: "  KVM_VERSION "\n");
 #else
     monitor_printf(mon, "kvm support: not compiled\n");
 #endif
-- 
1.5.6.5

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

end of thread, other threads:[~2009-07-30  8:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-29 11:03 [Qemu-devel] [PATCH] kvm: add kvm version to the "info kvm" monitor command Bjørn Mork
2009-07-29 18:48 ` Luiz Capitulino
2009-07-29 20:48   ` Glauber Costa
2009-07-29 21:23     ` Luiz Capitulino
2009-07-29 20:58 ` Anthony Liguori
2009-07-30  8:13   ` Bjørn Mork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).