permissions: 0.933 semantic: 0.889 network: 0.878 virtual: 0.867 register: 0.867 user-level: 0.867 boot: 0.846 hypervisor: 0.842 graphic: 0.841 PID: 0.832 mistranslation: 0.831 arm: 0.823 architecture: 0.816 performance: 0.811 assembly: 0.808 socket: 0.797 device: 0.797 ppc: 0.788 peripherals: 0.783 risc-v: 0.780 debug: 0.761 KVM: 0.748 files: 0.732 TCG: 0.717 vnc: 0.706 kernel: 0.670 VMM: 0.637 x86: 0.496 i386: 0.433 [UBUNTU 20.04] KVM guest fails to find zipl boot menu index ---Problem Description--- A KVM guest fails to find the zipl boot menu index if the "zIPL" magic value is listed at the end of a disk block. ---System Hang--- System sits in disabled wait, last console display LOADPARM=[ ] Using virtio-blk. Using ECKD scheme (block size 4096), CDL VOLSER=[0X0067] ---Steps to Reproduce--- 1. Install Distro KVM guest from ISO on a DASD, e.g. using virt-install, my invocation was $ virt-install --name secguest2 --memory 2048 --disk path=/dev/disk/by-path/ccw-0.0.af6a --cdrom /var/lib/libvirt/images/xxxxxx.iso 2. Select DHCP networking and ASCII console, and accept all defaults of the installer 3. Let the installer reboot after the installation completes It is possible to recover by editing the domain XML with an explicit loadparm to select a boot menu entry. E.g. I changed the disk definition to
The patches are now upstream: 5f97ba0c74cc ("pc-bios/s390-ccw: fix off-by-one error") 468184ec9024 ("pc-bios/s390-ccw: break loop if a null block number is reached") Current versions of qemu within Ubuntu focal (20.04LTS) 1:4.2-3ubuntu6 [ports]: arm64 armhf ppc64el s390x focal-updates (metapackages): 1:4.2-3ubuntu6.14: amd64 arm64 armhf ppc64el s390x groovy (20.10) (metapackages): 1:5.0-5ubuntu9 [ports]: arm64 armhf ppc64el s390x groovy-updates (metapackages): 1:5.0-5ubuntu9.6: amd64 arm64 armhf ppc64el s390x hirsute (metapackages): 1:5.2+dfsg-9ubuntu1: amd64 arm64 armhf ppc64el s390x git-commits will apply seamlessley for the requested levels if not already integrated ------- Comment From