From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Dunlap Subject: Re: Xen 4.3 development update RC2 imminent Date: Thu, 23 May 2013 15:32:57 +0100 Message-ID: <519E2899.2080000@eu.citrix.com> References: <519B7F67.2050602@citrix.com> <519B8541.8090505@citrix.com> <519BA6F302000078000D7CF2@nat28.tlf.novell.com> <519B9D15.7060004@eu.citrix.com> <519B9DF9.7090303@eu.citrix.com> <519CBEF3.4020701@m2r.biz> <519CDEB7.5090608@eu.citrix.com> <20130522163028.GU11427@reaktio.net> <519CF85D.5070702@eu.citrix.com> <519DE3D702000078000D85B4@nat28.tlf.novell.com> <519DF133.1020808@m2r.biz> <519DF1C4.6050809@citrix.com> <519DF568.1010906@eu.citrix.com> <519E24DD.4080901@m2r.biz> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2303519025674225111==" Return-path: In-Reply-To: <519E24DD.4080901@m2r.biz> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Fabio Fantoni Cc: Anthony Perard , Andrew Cooper , Jan Beulich , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org --===============2303519025674225111== Content-Type: multipart/alternative; boundary="------------040201090302050002060509" --------------040201090302050002060509 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit create ! title -1 libxl cpuid features different than Linux features thanks On 23/05/13 15:17, Fabio Fantoni wrote: > Tried with Raring (ubuntu 13.04) 32bit... > in cfg: > cpuid="host,sse=0,sse2=0,ssse3=0,sse4_1=0,sse4_2=0" > > # xl create /etc/xen/RARING.cfg > Parsing config from /etc/xen/RARING.cfg > while parsing CPUID flag: "sse4_1=0": > error #2: unknown CPUID flag name > while parsing CPUID flag: "sse4_2=0": > error #2: unknown CPUID flag name > > In domU: > # cat /proc/cpuinfo | grep sse > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge > mca cmov > pat pse36 clflush mmx fxsr ht nx rdtscp lm constant_tsc pni cx16 > *sse4_1 sse4_2* x2apic popcnt tsc_deadline_timer hypervisor lahf_lm libxl seems to call these sse4.1 and sse4.2 respectively. We should think about duplicating Linux to make this sort of thing easy. It would probably be a good idea to have a way to list the supported cpuid feature names from xl as well. -George --------------040201090302050002060509 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: 8bit
create !
title -1 libxl cpuid features different than Linux features
thanks

On 23/05/13 15:17, Fabio Fantoni wrote:
Tried with Raring (ubuntu 13.04) 32bit...
in cfg:
cpuid="host,sse=0,sse2=0,ssse3=0,sse4_1=0,sse4_2=0"

# xl create /etc/xen/RARING.cfg
Parsing config from /etc/xen/RARING.cfg
while parsing CPUID flag: "sse4_1=0":
  error #2: unknown CPUID flag name
while parsing CPUID flag: "sse4_2=0":
  error #2: unknown CPUID flag name

In domU:
# cat /proc/cpuinfo | grep sse
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
 pat pse36 clflush mmx fxsr ht nx rdtscp lm constant_tsc pni cx16 sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer hypervisor lahf_lm

libxl seems to call these sse4.1 and sse4.2 respectively.  We should think about duplicating Linux to make this sort of thing easy.

It would probably be a good idea to have a way to list the supported cpuid feature names from xl as well.

 -George
--------------040201090302050002060509-- --===============2303519025674225111== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============2303519025674225111==--