From: "Bjørn Mork" <bjorn@mork.no>
To: qemu-devel@nongnu.org
Cc: "Bjørn Mork" <bjorn@mork.no>
Subject: [Qemu-devel] [PATCH] kvm: add kvm version to the "info kvm" monitor command
Date: Wed, 29 Jul 2009 13:03:38 +0200 [thread overview]
Message-ID: <1248865418-32604-1-git-send-email-bjorn@mork.no> (raw)
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
next reply other threads:[~2009-07-29 11:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-29 11:03 Bjørn Mork [this message]
2009-07-29 18:48 ` [Qemu-devel] [PATCH] kvm: add kvm version to the "info kvm" monitor command 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
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=1248865418-32604-1-git-send-email-bjorn@mork.no \
--to=bjorn@mork.no \
--cc=qemu-devel@nongnu.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 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).