Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MWQlq-0002KJ-By for qemu-devel@nongnu.org; Thu, 30 Jul 2009 04:13:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MWQll-0002Jv-Pm for qemu-devel@nongnu.org; Thu, 30 Jul 2009 04:13:49 -0400 Received: from [199.232.76.173] (port=52226 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWQll-0002Js-M6 for qemu-devel@nongnu.org; Thu, 30 Jul 2009 04:13:45 -0400 Received: from mx20.gnu.org ([199.232.41.8]:15560) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MWQll-0001eb-7m for qemu-devel@nongnu.org; Thu, 30 Jul 2009 04:13:45 -0400 Received: from canardo.mork.no ([148.122.252.1]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MWQlj-00019v-LZ for qemu-devel@nongnu.org; Thu, 30 Jul 2009 04:13:44 -0400 From: =?utf-8?Q?Bj=C3=B8rn_Mork?= Subject: Re: [Qemu-devel] [PATCH] kvm: add kvm version to the "info kvm" monitor command References: <1248865418-32604-1-git-send-email-bjorn@mork.no> <4A70B7F6.3060706@codemonkey.ws> Date: Thu, 30 Jul 2009 10:13:40 +0200 In-Reply-To: <4A70B7F6.3060706@codemonkey.ws> (Anthony Liguori's message of "Wed, 29 Jul 2009 15:58:30 -0500") Message-ID: <873a8e611n.fsf@nemi.mork.no> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org Anthony Liguori writes: > Bj=C3=B8rn Mork wrote: >> 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 >>=20=20=20 > > info version will tell you the kvm version. It will? Ah, right. I see that QEMU_PKGVERSION has been added to it.=20=20 Weird. I did attempt to add the KVM version to "info version" a while ago, but this was (rightfully) rejected due to the monitor command stability requirements and the fact that it would affect non-KVM usage too. Well, I guess my extended usage of "info kvm" isn't necessary anymore. But it would IMHO still be useful to define the ouput as a variable number of lines of 'name: value' sets. I realise that we can't know for sure that this won't break any parser anywhere, but such bugs should be fairly easy to fix for those affected, if anyone. Bj=C3=B8rn