[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] kvm: add kvm version to the "info kvm" monitor comm
From: |
Bjørn Mork |
Subject: |
[Qemu-devel] [PATCH] kvm: add kvm version to the "info kvm" monitor command |
Date: |
Wed, 29 Jul 2009 13:03:38 +0200 |
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 <address@hidden>
---
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
- [Qemu-devel] [PATCH] kvm: add kvm version to the "info kvm" monitor command,
Bjørn Mork <=