7.2 (regression?): ppc64 KVM-HV hangs during boot
Host environment
- Operating system: Gentoo
- OS/kernel version: Linux ryuu 6.1.21-nobuiltinmemcmp-dawr #1 SMP Wed Mar 22 15:20:17 EDT 2023 ppc64le POWER9, altivec supported PowerNV T2P9D01 REV 1.00 GNU/Linux
- Architecture: ppc64le (Talos II, dual 8-core POWER9)
- QEMU flavor: qemu-system-ppc64
- QEMU version: QEMU emulator version 7.2.0
- QEMU command line: qemu-system-ppc64 -accel kvm -smp cpus=64,cores=16,threads=4 -m 32000 -nographic -kernel /boot/linux/vmlinux -append 'root=zfs:rpool/ROOT/default rd.luks.uuid=redacted rd.luks.allow-discards rd.luks.key=/redacted' -initrd /boot/linux/initramfs -drive file=/dev/sdc,if=virtio,snapshot=on,id=sdc -drive file=/dev/sdb,if=virtio,snapshot=on,id=sdb
Emulated/Virtualized environment
- Operating system: Gentoo (identical to host, with snapshot enabled)
- OS/kernel version: Linux ryuu 6.1.21-nobuiltinmemcmp-dawr #1 SMP Wed Mar 22 15:20:17 EDT 2023 ppc64le POWER9, altivec supported PowerNV T2P9D01 REV 1.00 GNU/Linux
- Architecture: ppc64le
Description of problem
qemu 7.2.0 hangs at " * Mounting ZFS filesystem(s) ..." whereas 7.1.0 would fully boot.
Without -smp, sometimes gets further and hangs later on at " * Seeding random number generator ..."
Additional information
7.1.0 used to work before upgrading to 7.2.0, but would hang randomly after booting (usually during my benchmark). Not sure if related. Unfortunately, after downgrading back to 7.1.0, it also now hangs the same way as 7.2.0 does.