From: Eduardo Habkost <ehabkost@redhat.com>
To: "Daniel P. Berrangé" <berrange@redhat.com>
Cc: qemu-devel@nongnu.org, libvir-list@redhat.com
Subject: Re: [Qemu-devel] CPU model versioning separate from machine type versioning ?
Date: Fri, 29 Jun 2018 14:42:39 -0300 [thread overview]
Message-ID: <20180629174239.GQ7451@localhost.localdomain> (raw)
In-Reply-To: <20180629101417.GB27016@redhat.com>
On Fri, Jun 29, 2018 at 11:14:17AM +0100, Daniel P. Berrangé wrote:
> On Thu, Jun 28, 2018 at 04:52:27PM -0300, Eduardo Habkost wrote:
[...]
> > I'm not sure what would be the best way to encode two types of
> > information, though:
> >
> > * Fallback/alternatives info, e.g.: "It makes sense to use
> > Haswell-{3.0,2.12,2.5,...} if Haswell-3.1 is not runnable and the
> > user asked for Haswell".
> >
> > * Ordering/preference info, e.g.: "Haswell-3.1 is better than
> > Haswell-3.0, prefer the latter"
>
> The version number of course gives an ordering, but we generally
> tell people not to assume version is numeric. We could report
> an explicit "priority" in some manner against each.
Makes sense. "priority" could be included on
query-cpu-definitions to help software choose the best
alternative, and "version" could be just an opaque string that
libvirt needs to save after expanding a CPU model.
--
Eduardo
prev parent reply other threads:[~2018-06-29 17:42 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-28 15:45 [Qemu-devel] CPU model versioning separate from machine type versioning ? Daniel P. Berrangé
2018-06-28 18:59 ` Dr. David Alan Gilbert
2018-06-28 19:23 ` Eduardo Habkost
2018-06-29 6:06 ` [Qemu-devel] [libvirt] " Jiri Denemark
2018-06-29 13:53 ` Eduardo Habkost
2018-06-29 10:10 ` [Qemu-devel] " Daniel P. Berrangé
2018-06-28 19:52 ` Eduardo Habkost
2018-06-29 8:53 ` Dr. David Alan Gilbert
2018-06-29 10:19 ` Daniel P. Berrangé
2018-06-29 17:36 ` Eduardo Habkost
2018-06-29 10:14 ` Daniel P. Berrangé
2018-06-29 12:12 ` Jiri Denemark
2018-06-29 12:16 ` Daniel P. Berrangé
2018-06-29 14:06 ` Eduardo Habkost
2018-06-29 17:42 ` Eduardo Habkost [this message]
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=20180629174239.GQ7451@localhost.localdomain \
--to=ehabkost@redhat.com \
--cc=berrange@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).