Package: debvm
Version: 0.2.13
Severity: normal
X-Debbugs-Cc: bdr...@debian.org

Dear Maintainer,

The debvm 0.2.13 command1 autopkgtest fails on ppc64el on Ubuntu:

```
qemu-system-ppc64el -netdev 
user,id=net0,domainname=novalocal,hostfwd=tcp:127.0.0.1:2222-:22 -device 
virtio-net-pci,netdev=net0 -append root=LABEL=debvm rw -nographic -device 
virtio-rng-pci,rng=rng0 -object rng-random,filename=/dev/urandom,id=rng0 -cpu 
host -machine accel=kvm:tcg -drive 
media=disk,format=raw,discard=unmap,file=test.ext4,if=virtio,cache=unsafe 
-no-user-config -name debvm-run test.ext4 -m 1G -kernel /proc/self/fd/3 -initrd 
/proc/self/fd/4
ioctl(KVM_CREATE_VM) failed: 22 Invalid argument
PPC KVM module is not loaded. Try modprobe kvm_hv.
qemu-system-ppc64el: failed to initialize kvm: Invalid argument
qemu-system-ppc64el: falling back to tcg
qemu-system-ppc64el: unable to find CPU model 'host'
```

Full log: 
https://autopkgtest.ubuntu.com/results/autopkgtest-noble/noble/ppc64el/d/debvm/20231210_104929_cc4af@/log.gz

The environment where debvm is executed does not work with KVM. debvm
should check for that and not enable "accel=kvm:tcg" in that environment.

Ubuntu-Bug: https://bugs.launchpad.net/ubuntu/+source/debvm/+bug/2046544

-- 
Benjamin Drung
Debian & Ubuntu Developer

Reply via email to