Package: autopkgtest
Version: 5.6
Severity: normal

It looks like the way autopkgtest calls qemu is suboptimal:

gnupg2-2.1.1816$ autopkgtest . -- qemu 
/var/lib/libvirt/images/debian9-amd64-autopkgtest.qcow2
autopkgtest [15:26:43]: version 5.6
autopkgtest [15:26:43]: host curie; command line: /usr/bin/autopkgtest . -- 
qemu /var/lib/libvirt/images/debian9-amd64-autopkgtest.qcow2
qemu-system-x86_64: warning: host doesn't support requested feature: 
CPUID.01H:ECX.vmx [bit 5]
autopkgtest [15:26:54]: testbed dpkg architecture: amd64
autopkgtest [15:26:57]: testbed running kernel: Linux 4.9.0-7-amd64 #1 SMP 
Debian 4.9.110-1 (2018-07-05)
autopkgtest [15:26:57]: @@@@@@@@@@@@@@@@@@@@ unbuilt-tree .
[...]

>From there on the build proceeds on fine, but I suspect it's not using
the hardware support for virtualization.

I do not get that warning when launching qemu by hand, for example
this works flawlessly:

qemu-system-x86_64  -enable-kvm -snapshot -m 1G,slots=3,maxmem=4G 
/var/lib/libvirt/images/debian9-amd64-autopkgtest.qcow2

Maybe qemu needs to be launched with `-enable-kvm`? Strangely, later
in the tests, I see this in my process list:

28937 pts/4    Sl+    7:45 qemu-system-x86_64 -m 1024 -smp 1 [...] -monitor 
[...]  -enable-kvm -cpu kvm64,+vmx,+lahf_lm

So maybe this is something else?

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental'), (1, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages autopkgtest depends on:
ii  apt-utils       1.7.0
ii  libdpkg-perl    1.19.2
ii  procps          2:3.3.15-2
ii  python3         3.6.6-1
ii  python3-debian  0.1.33

Versions of packages autopkgtest recommends:
ii  autodep8  0.14

Versions of packages autopkgtest suggests:
ii  lxc               1:2.0.9-6.1
pn  lxd               <none>
pn  ovmf              <none>
ii  qemu-efi-aarch64  0~20180812.cb5f4f45-1
pn  qemu-efi-arm      <none>
ii  qemu-system       1:2.12+dfsg-3+b1
ii  qemu-utils        1:2.12+dfsg-3+b1
ii  schroot           1.6.10-5
ii  vmdb2             0.13.2-1

-- debconf-show failed

Reply via email to