From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36578) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8nRX-0004eI-QF for qemu-devel@nongnu.org; Fri, 03 Jun 2016 07:39:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b8nRR-0001MK-OE for qemu-devel@nongnu.org; Fri, 03 Jun 2016 07:39:10 -0400 Received: from e06smtp08.uk.ibm.com ([195.75.94.104]:47992) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8nRR-0001M0-Ci for qemu-devel@nongnu.org; Fri, 03 Jun 2016 07:39:05 -0400 Received: from localhost by e06smtp08.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 3 Jun 2016 12:39:03 +0100 Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id 02F462190056 for ; Fri, 3 Jun 2016 12:38:34 +0100 (BST) Received: from d06av07.portsmouth.uk.ibm.com (d06av07.portsmouth.uk.ibm.com [9.149.37.248]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u53Bd0OA54919232 for ; Fri, 3 Jun 2016 11:39:00 GMT Received: from d06av07.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av07.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u53Bd030011263 for ; Fri, 3 Jun 2016 07:39:00 -0400 Date: Fri, 3 Jun 2016 13:38:58 +0200 From: David Hildenbrand Message-ID: <20160603133858.6d7dfbaa@thinkpad-w530> In-Reply-To: <20160531145124.GA7661@thinpad.lan.raisama.net> References: <20160509192515.GU4457@thinpad.lan.raisama.net> <877ff2fhjf.fsf@dusky.pond.sub.org> <20160510115705.GX4457@thinpad.lan.raisama.net> <87bn4djcgq.fsf@dusky.pond.sub.org> <20160511193550.GD24153@thinpad.lan.raisama.net> <87k2iz7m7i.fsf@dusky.pond.sub.org> <20160527201955.GK23701@thinpad.lan.raisama.net> <87mvn7evpp.fsf@dusky.pond.sub.org> <20160531120139.GO23701@thinpad.lan.raisama.net> <87shwycqcd.fsf@dusky.pond.sub.org> <20160531145124.GA7661@thinpad.lan.raisama.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [libvirt] [PATCH 7/9] qmp: Add runnability information to query-cpu-definitions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Habkost Cc: Markus Armbruster , Christian Borntraeger , libvir-list@redhat.com, qemu-devel@nongnu.org, Cornelia Huck , Igor Mammedov , Jiri Denemark , Andreas =?UTF-8?B?RsOkcmJlcg==?= > It is not exactly a special case (it is a read-only property like > any other), but it's worth mentioning. I will change it to: > > # If the QOM property is read-only, that means there's no known > # way to make the CPU model run in the current host. If > # absolutely no extra information will be returned to explain why > # the CPU model is not runnable, implementations may simply > # return "type" as the property name. > > > > > > +# If @unavailable-features is an empty list, the CPU model is > > > +# runnable using the current host and machine-type. > > > +# If @unavailable-features is not present, runnability > > > +# information for the CPU model is not available. > > > # > > > # Since: 1.2.0 > > > ## > > > > I'm happy with this interface. Thanks! > > Thanks! > Yes, sounds also good to me. For "hw generation too new" and similar errors we will simply return "type". Thanks. David