Comment 2 for bug 2036730

Revision history for this message
Heinrich Schuchardt (xypron) wrote (last edit ): Re: autopkgtest on armhf times out waiting for console

On arm64 the command 'autopkgtest -U --apt-pocket=proposed -a armhf -s *.dsc -- qemu autopkgtest-mantic-armhf.img' invokes QEMU with:

qemu-system-aarch64 -machine virt -cpu host -m 1024 -smp 1 -nographic -net nic,model=virtio -net user,hostfwd=tcp:127.0.0.1:10022-:22 -object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0,id=rng-device0 -monitor unix:/tmp/autopkgtest-qemu.vpg40tc_/monitor,server=on,wait=off -virtfs local,id=autopkgtest,path=/tmp/autopkgtest-qemu.vpg40tc_/shared,security_model=none,mount_tag=autopkgtest -device virtio-serial -chardev socket,path=/tmp/autopkgtest-qemu.vpg40tc_/hvc0,server=on,wait=off,id=hvc0 -device virtconsole,chardev=hvc0 -chardev socket,path=/tmp/autopkgtest-qemu.vpg40tc_/hvc1,server=on,wait=off,id=hvc1 -device virtconsole,chardev=hvc1 -serial unix:/tmp/autopkgtest-qemu.vpg40tc_/ttyS0,server=on,wait=off -drive index=0,file=/tmp/autopkgtest-qemu.vpg40tc_/overlay.img,format=qcow2,cache=unsafe,if=virtio,discard=unmap -drive if=pflash,format=raw,unit=0,read-only=on,file=/usr/share/AAVMF/AAVMF_CODE.fd -drive if=pflash,format=raw,unit=1,file=/tmp/autopkgtest-qemu.vpg40tc_/efivars.fd -enable-kvm

The CPU argument is wrong. It needs to be: -cpu host,aarch64=off.