[Pkg-libvirt-maintainers] Bug#773189: libvirt-daemon: Haswell microcode update breaks CPU detection

Chris Boot debian at bootc.net
Mon Dec 15 12:39:52 UTC 2014


Package: libvirt-daemon
Version: 1.2.9-6
Severity: important

Dear Maintainer,

The intel-microcode 3.20140913.1 update disables TSX-NI (transactional
memory instructions). When a server running libvirt is rebooted with
this update, libvirt no longer considers the machine to have a Haswell
CPU:

dietrich ~ # virsh capabilities | grep -A1 '<arch>x86_64'
      <arch>x86_64</arch>
      <model>SandyBridge</model>

This causes a problem as any VMs that require a Haswell CPU, which would
have worked previously, now fail to start altogether. Commenting out the
two cpuinfo flags relevant to TSX-NI from /usr/share/libvirt/cpu_map.xml
fixes this for me:

--- cpu_map.xml.orig    2014-11-24 11:47:47.000000000 +0000
+++ cpu_map.xml 2014-12-15 12:33:21.485278484 +0000
@@ -507,13 +507,13 @@
       <feature name='movbe'/>
       <feature name='fsgsbase'/>
       <feature name='bmi1'/>
-      <feature name='hle'/>
+      <!--feature name='hle'/-->
       <feature name='avx2'/>
       <feature name='smep'/>
       <feature name='bmi2'/>
       <feature name='erms'/>
       <feature name='invpcid'/>
-      <feature name='rtm'/>
+      <!--feature name='rtm'/-->
     </model>
 
     <model name='Broadwell'>

HTH,
Chris

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-updates'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libvirt-daemon depends on:
ii  libapparmor1        2.9.0-2
ii  libaudit1           1:2.4-1+b1
ii  libavahi-client3    0.6.31-4+b2
ii  libavahi-common3    0.6.31-4+b2
ii  libblkid1           2.25.2-3
ii  libc6               2.19-13
ii  libcap-ng0          0.7.4-2
ii  libdbus-1-3         1.8.12-1
ii  libdevmapper1.02.1  2:1.02.90-2
ii  libfuse2            2.9.3-15+b1
ii  libgnutls-deb0-28   3.3.8-5
ii  libnetcf1           1:0.2.3-4.1
ii  libnl-3-200         3.2.24-2
ii  libnl-route-3-200   3.2.24-2
ii  libnuma1            2.0.10-1
ii  libparted2          3.2-6
ii  libpcap0.8          1.6.2-2
ii  libpciaccess0       0.13.2-3+b1
ii  librados2           0.80.7-1
ii  librbd1             0.80.7-1
ii  libsasl2-2          2.1.26.dfsg1-12
ii  libselinux1         2.3-2
ii  libssh2-1           1.4.3-4
ii  libsystemd0         215-7
ii  libudev1            215-7
ii  libvirt0            1.2.9-6
ii  libxen-4.4          4.4.1-5
ii  libxenstore3.0      4.4.1-5
ii  libxml2             2.9.1+dfsg1-4
ii  libyajl2            2.1.0-2

Versions of packages libvirt-daemon recommends:
ii  libxml2-utils    2.9.1+dfsg1-4
ii  netcat-openbsd   1.105-7
pn  qemu-kvm | qemu  <none>

Versions of packages libvirt-daemon suggests:
ii  libvirt-daemon-system  1.2.9-6

-- no debconf information



More information about the Pkg-libvirt-maintainers mailing list