From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sasha Levin Subject: Re: -cpu core2duo still has no SSE4 support? Date: Thu, 15 Sep 2011 12:27:07 +0300 Message-ID: <1316078827.3743.12.camel@lappy> References: <1316077558.3743.11.camel@lappy> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Jun Koi Return-path: Received: from mail-fx0-f46.google.com ([209.85.161.46]:35846 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755714Ab1IOJ1i (ORCPT ); Thu, 15 Sep 2011 05:27:38 -0400 Received: by fxe4 with SMTP id 4so448715fxe.19 for ; Thu, 15 Sep 2011 02:27:37 -0700 (PDT) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Thu, 2011-09-15 at 17:14 +0800, Jun Koi wrote: > On Thu, Sep 15, 2011 at 5:05 PM, Sasha Levin wrote: > > On Thu, 2011-09-15 at 17:04 +0800, Jun Koi wrote: > >> hi, > >> > >> i run kvm with "-cpu core2duo" option, but /proc/cpuinfo only shows > >> SSE and SSE2. > >> my host is Core i7, so i suppose that i should have SSE4 with this > >> option, but it seems not? > >> > >> is there any way to get SSE4? > > > > How about just running it with '-cpu host'? > > hah, that works, thanks! > > but then there are 2 problems: > > - "-cpu host" should be exposed in the doc. "kvm -cpu ?" reports no > such option, so i missed it. > - "-cpu core2duo" should enable SSE4, but it doesnt. a bug? SSE4 doesn't come built in with all core2duos. See http://download.intel.com/design/mobile/datashts/31674505.pdf for example. -- Sasha.