From: Markus Armbruster <armbru@redhat.com>
To: Eduardo Habkost <ehabkost@redhat.com>
Cc: "Eric Blake" <eblake@redhat.com>,
"David Hildenbrand" <dahi@linux.vnet.ibm.com>,
libvir-list@redhat.com, qemu-devel@nongnu.org,
"Christian Borntraeger" <borntraeger@de.ibm.com>,
"Cornelia Huck" <cornelia.huck@de.ibm.com>,
"Igor Mammedov" <imammedo@redhat.com>,
"Jiri Denemark" <jdenemar@redhat.com>,
"Andreas Färber" <afaerber@suse.de>
Subject: Re: [Qemu-devel] [libvirt] [PATCH 7/9] qmp: Add runnability information to query-cpu-definitions
Date: Tue, 10 May 2016 10:23:16 +0200 [thread overview]
Message-ID: <877ff2fhjf.fsf@dusky.pond.sub.org> (raw)
In-Reply-To: <20160509192515.GU4457@thinpad.lan.raisama.net> (Eduardo Habkost's message of "Mon, 9 May 2016 16:25:15 -0300")
Eduardo Habkost <ehabkost@redhat.com> writes:
> On Mon, May 09, 2016 at 09:20:15AM -0600, Eric Blake wrote:
>> On 05/06/2016 12:11 PM, Eduardo Habkost wrote:
>> > Extend query-cpu-definitions schema to allow it to return two new
>> > optional fields: "runnable" and "unavailable-features".
>> > "runnable" will tell if the CPU model can be run in the current
>> > host. "unavailable-features" will contain a list of CPU
>> > properties that are preventing the CPU model from running in the
>> > current host.
>> >
>> > Cc: David Hildenbrand <dahi@linux.vnet.ibm.com>
>> > Cc: Michael Mueller <mimu@linux.vnet.ibm.com>
>> > Cc: Christian Borntraeger <borntraeger@de.ibm.com>
>> > Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
>> > Cc: Jiri Denemark <jdenemar@redhat.com>
>> > Cc: libvir-list@redhat.com
>> > Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
>> > ---
>> > qapi-schema.json | 10 +++++++++-
>> > 1 file changed, 9 insertions(+), 1 deletion(-)
>> >
>> > diff --git a/qapi-schema.json b/qapi-schema.json
>> > index 54634c4..450e6e7 100644
>> > --- a/qapi-schema.json
>> > +++ b/qapi-schema.json
>> > @@ -2948,11 +2948,19 @@
>> > # Virtual CPU definition.
>> > #
>> > # @name: the name of the CPU definition
>> > +# @runnable: true if the CPU model is runnable using the current
>> > +# machine and accelerator. Optional. Since 2.6.
>>
>> You've missed 2.6. Also, the typical spelling for a per-member
>> designation is '(since 2.7)', not 'Since 2.7'
>
> Oops! I meant 2.7, and I didn't notice that it was not using the
> typical format. I will fix it, thanks.
>
>>
>> Why is it optional? Would it hurt to always be present in qemu new
>> enough to understand why it is needed?
>
> It is optional because not all architectures will return the
> field. This series implements it only for x86.
Its documentation seems to suggest missing runnable has the same meaning
as runnable: false. Is that correct?
next prev parent reply other threads:[~2016-05-10 8:23 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-06 18:11 [Qemu-devel] [PATCH 0/9] Add runnability info to query-cpu-definitions Eduardo Habkost
2016-05-06 18:11 ` [Qemu-devel] [PATCH 1/9] target-i386: Move TCG initialization check to tcg_x86_init() Eduardo Habkost
2016-05-10 14:58 ` Igor Mammedov
2016-05-06 18:11 ` [Qemu-devel] [PATCH 2/9] target-i386: Move TCG initialization to realize time Eduardo Habkost
2016-05-10 15:10 ` Igor Mammedov
2016-05-06 18:11 ` [Qemu-devel] [PATCH 3/9] target-i386: Call cpu_exec_init() on realize Eduardo Habkost
2016-05-10 15:15 ` Igor Mammedov
2016-05-06 18:11 ` [Qemu-devel] [PATCH 4/9] target-i386: List CPU models using subclass list Eduardo Habkost
2016-05-06 18:11 ` [Qemu-devel] [PATCH 5/9] target-i386: Move warning code outside x86_cpu_filter_features() Eduardo Habkost
2016-05-06 18:11 ` [Qemu-devel] [PATCH 6/9] target-i386: Define CPUID filtering functions before x86_cpu_list() Eduardo Habkost
2016-05-06 18:11 ` [Qemu-devel] [PATCH 7/9] qmp: Add runnability information to query-cpu-definitions Eduardo Habkost
2016-05-09 6:04 ` Markus Armbruster
2016-05-09 8:54 ` David Hildenbrand
2016-05-09 12:00 ` Eduardo Habkost
2016-05-09 12:05 ` David Hildenbrand
2016-05-09 12:36 ` Eduardo Habkost
2016-05-09 13:06 ` David Hildenbrand
2016-05-09 19:45 ` Eduardo Habkost
2016-05-10 6:32 ` David Hildenbrand
2016-05-10 12:03 ` Eduardo Habkost
2016-05-09 15:20 ` [Qemu-devel] [libvirt] " Eric Blake
2016-05-09 19:25 ` Eduardo Habkost
2016-05-10 8:23 ` Markus Armbruster [this message]
2016-05-10 8:31 ` Jiri Denemark
2016-05-10 11:57 ` Eduardo Habkost
2016-05-11 7:11 ` Markus Armbruster
2016-05-11 19:35 ` Eduardo Habkost
2016-05-12 6:46 ` David Hildenbrand
2016-05-12 7:19 ` Jiri Denemark
2016-05-12 11:07 ` Eduardo Habkost
2016-05-12 7:46 ` Markus Armbruster
2016-05-27 20:19 ` Eduardo Habkost
2016-05-30 9:33 ` Markus Armbruster
2016-05-31 12:01 ` Eduardo Habkost
2016-05-31 13:24 ` Markus Armbruster
2016-05-31 14:51 ` Eduardo Habkost
2016-06-03 11:38 ` David Hildenbrand
2016-05-06 18:11 ` [Qemu-devel] [PATCH 8/9] target-i386: Use "-" instead of "_" on all feature names Eduardo Habkost
2016-05-10 15:19 ` Igor Mammedov
2016-05-10 17:36 ` Jiri Denemark
2016-05-24 12:17 ` Igor Mammedov
2016-05-24 12:34 ` Eduardo Habkost
2016-05-24 13:22 ` Igor Mammedov
2016-05-27 20:32 ` Eduardo Habkost
2016-05-30 8:43 ` Igor Mammedov
2016-05-06 18:11 ` [Qemu-devel] [PATCH 9/9] target-i386: Return runnability information on query-cpu-definitions Eduardo Habkost
2016-05-09 7:24 ` [Qemu-devel] [PATCH 0/9] Add runnability info to query-cpu-definitions David Hildenbrand
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=877ff2fhjf.fsf@dusky.pond.sub.org \
--to=armbru@redhat.com \
--cc=afaerber@suse.de \
--cc=borntraeger@de.ibm.com \
--cc=cornelia.huck@de.ibm.com \
--cc=dahi@linux.vnet.ibm.com \
--cc=eblake@redhat.com \
--cc=ehabkost@redhat.com \
--cc=imammedo@redhat.com \
--cc=jdenemar@redhat.com \
--cc=libvir-list@redhat.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.