Package: tuned
Version: 2.9.0-1

As soon as you install tuned (which auto-starts tuned.service), booting at
least some QEMU images does not work any more:

  $ wget https://download.cirros-cloud.net/0.3.5/cirros-0.3.5-i386-disk.img
  $ qemu-system-x86_64 -enable-kvm -nographic cirros-0.3.5-i386-disk.img 
-snapshot
  qemu-system-x86_64: warning: host doesn't support requested feature: 
CPUID.80000001H:ECX.svm [bit 2]

And then nothing happens at all any more, other than QEMU using 100% CPU. This
also affects version 0.4.0 and x86_64, so it's not particularly sensitive to
guest changes.

I'm testing this with (nested) KVM inside a current Debian testing VM.

After systemctl stop tuned", QEMU works again:

  $ qemu-system-x86_64 -enable-kvm -nographic cirros-0.3.5-i386-disk.img 
-snapshot
  qemu-system-x86_64: warning: host doesn't support requested feature: 
CPUID.80000001H:ECX.svm [bit 2]
  [ 0.000000] Initializing cgroup subsys cpuset
  [ 0.000000] Initializing cgroup subsys cpu
  [ 0.000000] Linux version 3.2.0-80-virtual (buildd@komainu) (gcc version 
4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #116-Ubuntu SMP Mon Mar 23 17:48:17 UTC 
2015 (Ubuntu 3.2.0-80.116-virtual 3.2.68)
  [...]

This shows that the "ECX.svm" warning already happened before and seems to be
unrelated.

Further info:
 * This is with current Linux 4.16.5 and QEMU 2.12.

 * This also affects Ubuntu 18.04 LTS, which has the exact same tuned version,
   but a slightly older kernel (4.15.0), and an older QEMU (2.11).
   (https://launchpad.net/bugs/1774000)

 * This does *not* seem to affect Fedora 28, which also has the exact same
   tuned version, configuration files, systemd unit, tuned invocation, default
   profile, etc. That runs Linux 4.16.11 and QEMU 2.11.1.

Thanks,

Martin

Reply via email to