<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Martin<br>
    <br>
    Thanks for your response. Here's the output of that grep:<br>
    <br>
    <tt># grep ^flags /proc/cpuinfo | sort -u </tt><tt><br>
    </tt><tt>flags        : fpu vme de pse tsc msr pae mce cx8 apic sep
      mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss
      ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon
      pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu
      pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16
      xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer
      aes xsave avx lahf_lm ida arat xsaveopt pln pts dtherm tpr_shadow
      vnmi flexpriority ept vpid</tt><tt><br>
    </tt><br>
    I've just managed to install the libvirt-bin:amd64 package on the
    same machine, on the wheezy-i386 distribution. The output of 'virsh
    capabilities' is now reported correctly, and my VMs that required
    SandyBridge are now booting.<br>
    <br>
    Have you any further suggestions?<br>
    <br>
    Struan<br>
    <br>
    <div class="moz-cite-prefix">On 03/03/2014 10:00, Martin Kletzander
      wrote:<br>
    </div>
    <blockquote cite="mid:20140303100043.GA20591@wheatley" type="cite">
      <pre wrap="">On Fri, Feb 28, 2014 at 03:45:01PM +0000, Struan Bartlett wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Hi

On a range of Dell servers containing Intel 64bit processors, 'virsh
capabilities' reports the cpu differently on Debian Wheezy-amd64 and
Wheezy-i386. The results given by the Wheezy-i386 version seem very
wrong (since n270 is an Atom processor). Apart from architecture, the
package versions of libvirt-bin are identical: 1.2.1-1~bpo70+1.
/usr/share/libvirt/cpu_map.xml files are identical. Is this a known
issue? Details for one server are:

# cat /proc/cpuinfo| head -n 26
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 45
model name      : Intel(R) Xeon(R) CPU E5-2650L 0 @ 1.80GHz
stepping        : 7
microcode       : 0x70d
cpu MHz         : 1800.054
cache size      : 20480 KB
physical id     : 0
siblings        : 16
core id         : 0
cpu cores       : 8
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe
syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good
nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64
monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1
sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat
xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips        : 3600.10
clflush size    : 64
cache_alignment : 64
address sizes   : 46 bits physical, 48 bits virtual
power management:

...
</proc/cpuinfo for processors 1..31 snipped here for brevity>

</pre>
      </blockquote>
      <pre wrap="">
Check if all 32 CPUs have *exactly* the same flags, I remember an
issue when we reported a wrong cpu because the probing code was
scheduled on one of them which had one flag missing.  If package and
cpu_map.xml are the same, this is the only thing I can think of.
Simple 'grep ^flags /proc/cpuinfo | sort -u' should do.  If only one
line is printed out than I don't know where the problem might be...

Martin

</pre>
      <blockquote type="cite">
        <pre wrap=""># Running Wheezy-amd64 libvirt-bin1.2.1-1~bpo70+1
# virsh capabilities

     <cpu>
       <arch>x86_64</arch>
       <model>SandyBridge</model>
       <vendor>Intel</vendor>
       <topology sockets='2' cores='8' threads='2'/>
       <feature name='pdpe1gb'/>
       <feature name='osxsave'/>
       <feature name='dca'/>
       <feature name='pcid'/>
       <feature name='pdcm'/>
       <feature name='xtpr'/>
       <feature name='tm2'/>
       <feature name='est'/>
       <feature name='smx'/>
       <feature name='vmx'/>
       <feature name='ds_cpl'/>
       <feature name='monitor'/>
       <feature name='dtes64'/>
       <feature name='pbe'/>
       <feature name='tm'/>
       <feature name='ht'/>
       <feature name='ss'/>
       <feature name='acpi'/>
       <feature name='ds'/>
       <feature name='vme'/>
     </cpu>


# Running Wheezy-i386 libvirt-bin1.2.1-1~bpo70+1
# virsh capabilities

     <cpu>
       <arch>x86_64</arch>
       <model>n270</model>
       <vendor>Intel</vendor>
       <topology sockets='2' cores='8' threads='2'/>
       <feature name='lahf_lm'/>
       <feature name='lm'/>
       <feature name='rdtscp'/>
       <feature name='pdpe1gb'/>
       <feature name='avx'/>
       <feature name='osxsave'/>
       <feature name='xsave'/>
       <feature name='aes'/>
       <feature name='tsc-deadline'/>
       <feature name='popcnt'/>
       <feature name='x2apic'/>
       <feature name='sse4.2'/>
       <feature name='sse4.1'/>
       <feature name='dca'/>
       <feature name='pcid'/>
       <feature name='pdcm'/>
       <feature name='xtpr'/>
       <feature name='cx16'/>
       <feature name='tm2'/>
       <feature name='est'/>
       <feature name='smx'/>
       <feature name='vmx'/>
       <feature name='ds_cpl'/>
       <feature name='dtes64'/>
       <feature name='pclmuldq'/>
       <feature name='pbe'/>
       <feature name='tm'/>
       <feature name='ht'/>
       <feature name='ss'/>
       <feature name='acpi'/>
       <feature name='ds'/>
       <feature name='pse36'/>
     </cpu>

Kind regards

Struan Bartlett

--

Struan Bartlett
NewsNow Publishing Limited

Tel:    +44 (0)845 838 8890
Fax:    +44 (0)845 838 8898

The UK's #1 News Portal:
 > <a class="moz-txt-link-abbreviated" href="http://www.NewsNow.co.uk">www.NewsNow.co.uk</a> <a class="moz-txt-link-rfc2396E" href="http://www.NewsNow.co.uk"><http://www.NewsNow.co.uk></a> (est. 1998)

Also tailored for Mobile:
 > mobile.NewsNow.co.uk <a class="moz-txt-link-rfc2396E" href="http://mobile.NewsNow.co.uk/"><http://mobile.NewsNow.co.uk/></a>

Now with FREE Personalisation:
 > Register <a class="moz-txt-link-rfc2396E" href="http://www.NewsNow.co.uk/register/"><http://www.NewsNow.co.uk/register/></a>

Bespoke B2B Internet News Monitoring:
 > Internet News Monitoring
<a class="moz-txt-link-rfc2396E" href="http://www.newsnow.co.uk/services/newsmonitoring/"><http://www.newsnow.co.uk/services/newsmonitoring/></a>

Bespoke B2B Headlines for Websites:
 > Editorial-In-A-Box <a class="moz-txt-link-rfc2396E" href="http://www.newsnow.co.uk/services/websites/"><http://www.newsnow.co.uk/services/websites/></a>

NewsNow Publishing Limited, trading also as NewsNow.co.uk, is a company
registered in England and Wales under company no. 3435857 with
registered office The Euston Office, 1 Euston Square, 40 Melton Street,
London NW1 2FD

</pre>
      </blockquote>
      <pre wrap="">
</pre>
      <blockquote type="cite">
        <pre wrap="">_______________________________________________
libvirt-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:libvirt-users@redhat.com">libvirt-users@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/libvirt-users">https://www.redhat.com/mailman/listinfo/libvirt-users</a>
</pre>
      </blockquote>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <style>
ul, ol { margin:0.2em 0 0.2em 2em; padding: 0 0 0 2em; }
li { margin:1em 0; }
p { margin:1em 0; }
code { display:block; border:1px dotted #999999; background:#efefef; padding:3px; margin: 0.5em 2em; }
</style>
      <div
        style="width:230px;font-family:Helvetica,Sans-serif;font-size:12px;">
        <p style="border-top:1px solid #ccc;padding-top:.5em;">
          Struan Bartlett<br>
          NewsNow Publishing Limited
        </p>
        <table
style="border:0;padding:0;margin:0;font-family:Helvetica,Sans-serif;font-size:12px"
          cellpadding="0" cellspacing="0">
          <tbody>
            <tr>
              <td>Tel: </td>
              <td>+44 (0)845 838 8890</td>
            </tr>
            <tr>
              <td>Fax: </td>
              <td>+44 (0)845 838 8898</td>
            </tr>
          </tbody>
        </table>
        <p>The UK's #1 News Portal:<br>
          > <a style="color: grey; font-weight: bold"
            href="http://www.NewsNow.co.uk">www.NewsNow.co.uk</a> (est.
          1998)</p>
        <p>Also tailored for Mobile:<br>
          > <a style="color: grey; font-weight: bold"
            href="http://mobile.NewsNow.co.uk/">mobile.NewsNow.co.uk</a></p>
        <p>Now with FREE Personalisation:<br>
          > <a style="color: grey; font-weight: bold"
            href="http://www.NewsNow.co.uk/register/">Register</a></p>
        <p>Bespoke B2B Internet News Monitoring:<br>
          > <a style="color: grey; font-weight: bold"
            href="http://www.newsnow.co.uk/services/newsmonitoring/">Internet
            News Monitoring</a></p>
        <p>Bespoke B2B Headlines for Websites:<br>
          > <a style="color: grey; font-weight: bold"
            href="http://www.newsnow.co.uk/services/websites/">Editorial-In-A-Box</a></p>
        <p style="border-top:1px solid #ccc;border-bottom:1px solid
          #ccc;padding:.5em
          0;font-size:90%;margin-top:1em;text-align:justify;line-height:1.1em">NewsNow
          Publishing Limited, trading also as NewsNow.co.uk, is a
          company registered in England and Wales under company no.
          3435857 with registered office The Euston Office, 1 Euston
          Square, 40 Melton Street, London NW1 2FD</p>
      </div>
    </div>
  </body>
</html>