Re: [Qemu-devel] CPU model versioning separate from machine type versioning ?

2018-06-29 Thread Eduardo Habkost
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 us

Re: [Qemu-devel] CPU model versioning separate from machine type versioning ?

2018-06-29 Thread Eduardo Habkost
On Fri, Jun 29, 2018 at 11:19:17AM +0100, Daniel P. Berrangé wrote: > On Fri, Jun 29, 2018 at 09:53:53AM +0100, Dr. David Alan Gilbert wrote: [...] > > We're going to have to say something like: > > 'For the new XYZ vulnerability make sure you're using > > Haswell-3.2 or later, SkyLake-2.6 or l

Re: [Qemu-devel] CPU model versioning separate from machine type versioning ?

2018-06-29 Thread Eduardo Habkost
On Fri, Jun 29, 2018 at 02:12:51PM +0200, Jiri Denemark wrote: > On Fri, Jun 29, 2018 at 11:14:17 +0100, Daniel P. Berrangé wrote: > > On Thu, Jun 28, 2018 at 04:52:27PM -0300, Eduardo Habkost wrote: > > > On Thu, Jun 28, 2018 at 04:45:02PM +0100, Daniel P. Berrangé wrote: > > > [...] > > > > What

Re: [Qemu-devel] CPU model versioning separate from machine type versioning ?

2018-06-29 Thread Daniel P . Berrangé
On Fri, Jun 29, 2018 at 02:12:51PM +0200, Jiri Denemark wrote: > On Fri, Jun 29, 2018 at 11:14:17 +0100, Daniel P. Berrangé wrote: > > On Thu, Jun 28, 2018 at 04:52:27PM -0300, Eduardo Habkost wrote: > > > On Thu, Jun 28, 2018 at 04:45:02PM +0100, Daniel P. Berrangé wrote: > > > [...] > > > > What

Re: [Qemu-devel] CPU model versioning separate from machine type versioning ?

2018-06-29 Thread Jiri Denemark
On Fri, Jun 29, 2018 at 11:14:17 +0100, Daniel P. Berrangé wrote: > On Thu, Jun 28, 2018 at 04:52:27PM -0300, Eduardo Habkost wrote: > > On Thu, Jun 28, 2018 at 04:45:02PM +0100, Daniel P. Berrangé wrote: > > [...] > > > What if we can borrow the concept of versioning from machine types and > > >

Re: [Qemu-devel] CPU model versioning separate from machine type versioning ?

2018-06-29 Thread Daniel P . Berrangé
On Fri, Jun 29, 2018 at 09:53:53AM +0100, Dr. David Alan Gilbert wrote: > * Eduardo Habkost (ehabk...@redhat.com) wrote: > > On Thu, Jun 28, 2018 at 04:45:02PM +0100, Daniel P. Berrangé wrote: > > [...] > > > What if we can borrow the concept of versioning from machine types and > > > apply > > >

Re: [Qemu-devel] CPU model versioning separate from machine type versioning ?

2018-06-29 Thread Daniel P . Berrangé
On Thu, Jun 28, 2018 at 04:52:27PM -0300, Eduardo Habkost wrote: > On Thu, Jun 28, 2018 at 04:45:02PM +0100, Daniel P. Berrangé wrote: > [...] > > What if we can borrow the concept of versioning from machine types and apply > > it to CPU models directly. For example, considering the history of "Has

Re: [Qemu-devel] CPU model versioning separate from machine type versioning ?

2018-06-29 Thread Daniel P . Berrangé
On Thu, Jun 28, 2018 at 07:59:38PM +0100, Dr. David Alan Gilbert wrote: > * Daniel P. Berrangé (berra...@redhat.com) wrote: > > This post is to raise question about helping use of named CPU models with > > KVM ie any case not using -cpu host. > > > > In the old days (ie before 2018), the world was

Re: [Qemu-devel] CPU model versioning separate from machine type versioning ?

2018-06-29 Thread Dr. David Alan Gilbert
* Eduardo Habkost (ehabk...@redhat.com) wrote: > On Thu, Jun 28, 2018 at 04:45:02PM +0100, Daniel P. Berrangé wrote: > [...] > > What if we can borrow the concept of versioning from machine types and apply > > it to CPU models directly. For example, considering the history of "Haswell" > > in QEMU,

Re: [Qemu-devel] CPU model versioning separate from machine type versioning ?

2018-06-28 Thread Eduardo Habkost
On Thu, Jun 28, 2018 at 04:45:02PM +0100, Daniel P. Berrangé wrote: [...] > What if we can borrow the concept of versioning from machine types and apply > it to CPU models directly. For example, considering the history of "Haswell" > in QEMU, if we had versioned things, we would by now have: > >

Re: [Qemu-devel] CPU model versioning separate from machine type versioning ?

2018-06-28 Thread Eduardo Habkost
On Thu, Jun 28, 2018 at 07:59:38PM +0100, Dr. David Alan Gilbert wrote: [...] > > An application like virt-manager which wants a simple UI can forever be > > happy simply giving users a list of bare CPU model names, and allowing > > libvirt / QEMU to automatically expand to the best versioned model

Re: [Qemu-devel] CPU model versioning separate from machine type versioning ?

2018-06-28 Thread Dr. David Alan Gilbert
* Daniel P. Berrangé (berra...@redhat.com) wrote: > This post is to raise question about helping use of named CPU models with > KVM ie any case not using -cpu host. > > In the old days (ie before 2018), the world was innocent and we had a nice > set of named CPU models that corresponded to differe

[Qemu-devel] CPU model versioning separate from machine type versioning ?

2018-06-28 Thread Daniel P . Berrangé
This post is to raise question about helping use of named CPU models with KVM ie any case not using -cpu host. In the old days (ie before 2018), the world was innocent and we had a nice set of named CPU models that corresponded to different Intel/AMD physical CPU families/generations (lets tempora