Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MW6wv-00036U-RQ for qemu-devel@nongnu.org; Wed, 29 Jul 2009 07:03:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MW6wq-00031j-61 for qemu-devel@nongnu.org; Wed, 29 Jul 2009 07:03:56 -0400 Received: from [199.232.76.173] (port=47863 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MW6wp-00031P-Jd for qemu-devel@nongnu.org; Wed, 29 Jul 2009 07:03:51 -0400 Received: from canardo.mork.no ([148.122.252.1]:40530) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MW6wo-0006Np-6f for qemu-devel@nongnu.org; Wed, 29 Jul 2009 07:03:51 -0400 From: =?utf-8?q?Bj=C3=B8rn=20Mork?= Date: Wed, 29 Jul 2009 13:03:38 +0200 Message-Id: <1248865418-32604-1-git-send-email-bjorn@mork.no> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH] kvm: add kvm version to the "info kvm" monitor command List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?utf-8?q?Bj=C3=B8rn=20Mork?= 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=C3=B8rn Mork --- 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 --=20 1.5.6.5