All of lore.kernel.org
 help / color / mirror / Atom feed
* kvm ivy bridge support?
@ 2014-12-04  9:04 Thomas Lau
  2014-12-04 11:30 ` Yong Wang
  0 siblings, 1 reply; 11+ messages in thread
From: Thomas Lau @ 2014-12-04  9:04 UTC (permalink / raw)
  To: kvm

Hi,

Does KVM support ivy bridge instruction?

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: kvm ivy bridge support?
  2014-12-04  9:04 kvm ivy bridge support? Thomas Lau
@ 2014-12-04 11:30 ` Yong Wang
  2014-12-04 12:17   ` tlau
  0 siblings, 1 reply; 11+ messages in thread
From: Yong Wang @ 2014-12-04 11:30 UTC (permalink / raw)
  To: Thomas Lau; +Cc: kvm

On Thu, Dec 04, 2014 at 05:04:18PM +0800, Thomas Lau wrote:
> Hi,
> 
> Does KVM support ivy bridge instruction?

Can you be more specific? Which ivybridge instructions do you care about?


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: kvm ivy bridge support?
  2014-12-04 11:30 ` Yong Wang
@ 2014-12-04 12:17   ` tlau
  2014-12-04 13:54     ` Paolo Bonzini
  0 siblings, 1 reply; 11+ messages in thread
From: tlau @ 2014-12-04 12:17 UTC (permalink / raw)
  To: Yong Wang; +Cc: kvm

Nothing really specific, when I use virt-manager, on CPU type it doesn't have Ivy Bridge selection, I just wondering why.  

Sent from my BlackBerry 10 smartphone.
  Original Message  
From: Yong Wang
Sent: Thursday, 4 December, 2014 7:30 PM
To: Thomas Lau
Cc: kvm
Subject: Re: kvm ivy bridge support?

On Thu, Dec 04, 2014 at 05:04:18PM +0800, Thomas Lau wrote:
> Hi,
> 
> Does KVM support ivy bridge instruction?

Can you be more specific? Which ivybridge instructions do you care about?


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: kvm ivy bridge support?
  2014-12-04 12:17   ` tlau
@ 2014-12-04 13:54     ` Paolo Bonzini
  2014-12-04 13:56       ` tlau
  0 siblings, 1 reply; 11+ messages in thread
From: Paolo Bonzini @ 2014-12-04 13:54 UTC (permalink / raw)
  To: tlau, Yong Wang; +Cc: kvm



On 04/12/2014 13:17, tlau@tetrioncapital.com wrote:
> Nothing really specific, when I use virt-manager, on CPU type it
> doesn't have Ivy Bridge selection, I just wondering why.

Either your virt-manager or your libvirt or your QEMU are too old.
Kernel 3.17 supports up to Broadwell.

Paolo

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: kvm ivy bridge support?
  2014-12-04 13:54     ` Paolo Bonzini
@ 2014-12-04 13:56       ` tlau
  2014-12-04 15:36         ` Paolo Bonzini
  0 siblings, 1 reply; 11+ messages in thread
From: tlau @ 2014-12-04 13:56 UTC (permalink / raw)
  To: Paolo Bonzini, Yong Wang; +Cc: kvm

Interesting, is it depending on KVM or libvirt on CPU support?

Sent from my BlackBerry 10 smartphone.
  Original Message  
From: Paolo Bonzini
Sent: Thursday, 4 December, 2014 9:54 PM
To: tlau@tetrioncapital.com; Yong Wang
Cc: kvm
Subject: Re: kvm ivy bridge support?



On 04/12/2014 13:17, tlau@tetrioncapital.com wrote:
> Nothing really specific, when I use virt-manager, on CPU type it
> doesn't have Ivy Bridge selection, I just wondering why.

Either your virt-manager or your libvirt or your QEMU are too old.
Kernel 3.17 supports up to Broadwell.

Paolo

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: kvm ivy bridge support?
  2014-12-04 13:56       ` tlau
@ 2014-12-04 15:36         ` Paolo Bonzini
  2014-12-05  1:33           ` tlau
  0 siblings, 1 reply; 11+ messages in thread
From: Paolo Bonzini @ 2014-12-04 15:36 UTC (permalink / raw)
  To: tlau, Yong Wang; +Cc: kvm



On 04/12/2014 14:56, tlau@tetrioncapital.com wrote:
> Interesting, is it depending on KVM or libvirt on CPU support?

It has to be supported all the way up.  KVM provides emulation, QEMU
provides command-line parsing, libvirt provides XML parsing,
virt-manager probably can read the info from libvirt but I'm not 100% sure.

Paolo

> Sent from my BlackBerry 10 smartphone.
>   Original Message  
> From: Paolo Bonzini
> Sent: Thursday, 4 December, 2014 9:54 PM
> To: tlau@tetrioncapital.com; Yong Wang
> Cc: kvm
> Subject: Re: kvm ivy bridge support?
> 
> 
> 
> On 04/12/2014 13:17, tlau@tetrioncapital.com wrote:
>> Nothing really specific, when I use virt-manager, on CPU type it
>> doesn't have Ivy Bridge selection, I just wondering why.
> 
> Either your virt-manager or your libvirt or your QEMU are too old.
> Kernel 3.17 supports up to Broadwell.
> 
> Paolo
> 

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: kvm ivy bridge support?
  2014-12-04 15:36         ` Paolo Bonzini
@ 2014-12-05  1:33           ` tlau
  2014-12-05  7:29             ` Paolo Bonzini
  0 siblings, 1 reply; 11+ messages in thread
From: tlau @ 2014-12-05  1:33 UTC (permalink / raw)
  To: Paolo Bonzini, Yong Wang; +Cc: kvm

May I know how could I check CPU support list on KVM?

Sent from my BlackBerry 10 smartphone.
  Original Message  
From: Paolo Bonzini
Sent: Thursday, 4 December, 2014 11:36 PM
To: tlau@tetrioncapital.com; Yong Wang
Cc: kvm
Subject: Re: kvm ivy bridge support?



On 04/12/2014 14:56, tlau@tetrioncapital.com wrote:
> Interesting, is it depending on KVM or libvirt on CPU support?

It has to be supported all the way up. KVM provides emulation, QEMU
provides command-line parsing, libvirt provides XML parsing,
virt-manager probably can read the info from libvirt but I'm not 100% sure.

Paolo

> Sent from my BlackBerry 10 smartphone.
> Original Message 
> From: Paolo Bonzini
> Sent: Thursday, 4 December, 2014 9:54 PM
> To: tlau@tetrioncapital.com; Yong Wang
> Cc: kvm
> Subject: Re: kvm ivy bridge support?
> 
> 
> 
> On 04/12/2014 13:17, tlau@tetrioncapital.com wrote:
>> Nothing really specific, when I use virt-manager, on CPU type it
>> doesn't have Ivy Bridge selection, I just wondering why.
> 
> Either your virt-manager or your libvirt or your QEMU are too old.
> Kernel 3.17 supports up to Broadwell.
> 
> Paolo
> 

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: kvm ivy bridge support?
  2014-12-05  1:33           ` tlau
@ 2014-12-05  7:29             ` Paolo Bonzini
  2014-12-05  8:17               ` Thomas Lau
  0 siblings, 1 reply; 11+ messages in thread
From: Paolo Bonzini @ 2014-12-05  7:29 UTC (permalink / raw)
  To: tlau, Yong Wang; +Cc: kvm



On 05/12/2014 02:33, tlau@tetrioncapital.com wrote:
> May I know how could I check CPU support list on KVM?

QEMU: qemu-kvm -cpu help|grep x86

(or "/usr/libexec/qemu-kvm -cpu help|grep x86" depending on your
distribution)

Libvirt: virsh cpu-models x86_64|sort

Paolo

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: kvm ivy bridge support?
  2014-12-05  7:29             ` Paolo Bonzini
@ 2014-12-05  8:17               ` Thomas Lau
  2014-12-05 15:23                 ` Rik van Riel
  0 siblings, 1 reply; 11+ messages in thread
From: Thomas Lau @ 2014-12-05  8:17 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: Yong Wang, kvm

virsh cpu-models x86_64 | sort

486
Conroe
Haswell
Nehalem
Opteron_G1
Opteron_G2
Opteron_G3
Opteron_G4
Opteron_G5
Penryn
SandyBridge
Westmere
athlon
core2duo
coreduo
cpu64-rhel5
cpu64-rhel6
kvm32
kvm64
n270
pentium
pentium2
pentium3
pentiumpro
phenom
qemu32
qemu64

interesting that it doesn't have Ivy Bridge, any reason?

On Fri, Dec 5, 2014 at 3:29 PM, Paolo Bonzini <pbonzini@redhat.com> wrote:
>
>
> On 05/12/2014 02:33, tlau@tetrioncapital.com wrote:
>> May I know how could I check CPU support list on KVM?
>
> QEMU: qemu-kvm -cpu help|grep x86
>
> (or "/usr/libexec/qemu-kvm -cpu help|grep x86" depending on your
> distribution)
>
> Libvirt: virsh cpu-models x86_64|sort
>
> Paolo



-- 
Thomas Lau
Director of Infrastructure
Tetrion Capital Limited

Direct: +852-3976-8903
Mobile: +852-9323-9670
Address: 20/F, IFC 1, Central district, Hong Kong

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: kvm ivy bridge support?
  2014-12-05  8:17               ` Thomas Lau
@ 2014-12-05 15:23                 ` Rik van Riel
  2014-12-05 16:54                   ` Paolo Bonzini
  0 siblings, 1 reply; 11+ messages in thread
From: Rik van Riel @ 2014-12-05 15:23 UTC (permalink / raw)
  To: Thomas Lau, Paolo Bonzini; +Cc: Yong Wang, kvm

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/05/2014 03:17 AM, Thomas Lau wrote:
> virsh cpu-models x86_64 | sort

...
> Penryn SandyBridge Westmere

...

> interesting that it doesn't have Ivy Bridge, any reason?

The reason would be that you are running an older version.

- -- 
All rights reversed
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJUgc4KAAoJEM553pKExN6DHGoH/iRWWBCGO0oIgRuA2iEGVYhh
M5iUVJfxzdK6S4sNRPRnUHW8YqQVkKQSULBna4zYPI6q/9d5llDZog8Ejk0XES23
8yembpEM5SsKW2bUzaxpd1t8g096+tX7tmX/i06VOyzSnRDMpyqBAR0cX2c/Yr44
2lFu7IoGI8E+ZM9CeOnCjtKBIsr5ZMV2S9++WKo9EpZAvhMdsxFQh5a47PSShJes
0Dib/KEmg3S45+eWRvDoqI6KwAgTXJ0MvvMkXvWT2uQ25BHu7AzekKl2jsSnKJeq
4PWgD23dDn1quUfeP7GJq5/zN+Rv2Apw4cQZYtVAmm7pfmMOaM8xV5A2R0ygyTw=
=o0NK
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: kvm ivy bridge support?
  2014-12-05 15:23                 ` Rik van Riel
@ 2014-12-05 16:54                   ` Paolo Bonzini
  0 siblings, 0 replies; 11+ messages in thread
From: Paolo Bonzini @ 2014-12-05 16:54 UTC (permalink / raw)
  To: Rik van Riel; +Cc: Thomas Lau, Yong Wang, kvm



----- Original Message -----
> From: "Rik van Riel" <riel@redhat.com>
> To: "Thomas Lau" <tlau@tetrioncapital.com>, "Paolo Bonzini" <pbonzini@redhat.com>
> Cc: "Yong Wang" <yong.y.wang@linux.intel.com>, "kvm" <kvm@vger.kernel.org>
> Sent: Friday, December 5, 2014 4:23:54 PM
> Subject: Re: kvm ivy bridge support?
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 12/05/2014 03:17 AM, Thomas Lau wrote:
> > virsh cpu-models x86_64 | sort
> 
> ...
> > Penryn SandyBridge Westmere
> 
> ...
> 
> > interesting that it doesn't have Ivy Bridge, any reason?
> 
> The reason would be that you are running an older version.


No, the reason could also be that for some reason we added Haswell and
Broadwell, but forgot Ivy Bridge.  I'll send QEMU patches next week.

Paolo

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-12-05 16:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-04  9:04 kvm ivy bridge support? Thomas Lau
2014-12-04 11:30 ` Yong Wang
2014-12-04 12:17   ` tlau
2014-12-04 13:54     ` Paolo Bonzini
2014-12-04 13:56       ` tlau
2014-12-04 15:36         ` Paolo Bonzini
2014-12-05  1:33           ` tlau
2014-12-05  7:29             ` Paolo Bonzini
2014-12-05  8:17               ` Thomas Lau
2014-12-05 15:23                 ` Rik van Riel
2014-12-05 16:54                   ` Paolo Bonzini

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.