On 2026-07-27 07.09, Martin-Éric Racine wrote: > pe 24.7.2026 klo 17.08 Paride Legovini ([email protected]) kirjoitti: >> >> Hi, I suspect this is a timeout in waiting for the VM to boot. In >> particular I don't see -enable-kvm in the qemu-system-x86_64 options; >> that flag should be automatically added when /dev/kvm is availale. >> >> Could you check (1) whether /dev/kvm is available, and in general if you >> can expect accelerated KVM to be available, and (2) pass something like >> --timeout-reboot=600 to autopkgtest-virt-qemu to see if that makes it work? > > Sure enough, enabling Virtualization in BIOS and rebooting made > /dev/kvm appear, and the autopkgtest recipe finally works. Thanks!
Great, and thanks for reporting back! > Btw, KVM wasn't needed until Bookworm. I can run autopkgtest-virt-qemu > on that without it. It however very much is needed since Trixie. This > must be documented, preferably in the package description. It is not that KVM is now needed: it was always opportunistically used. Apparently for some reason emulated boot takes longer in newer Debian releases. This may be due to a change in qemu. I did check the autopkgtest git history and could not spot a change that could have made boot take longer, or that shortened to boot timeout. But I think we can make things better on the autopkgtest side: https://salsa.debian.org/ci-team/autopkgtest/-/merge_requests/677 Let me know if you have comments. Cheers, Paride

