Alright, sorry for the delay in this review, I wanted to have all my environment ready and now I do.
All my templates use external vmlinuz and initrd images, so I created a similar one to IPL from /dev/vda after zipl has burned stages in MBR: (kguest is eoan fully updated, latest s390-tools):
Alright, sorry for the delay in this review, I wanted to have all my environment ready and now I do.
All my templates use external vmlinuz and initrd images, so I created a similar one to IPL from /dev/vda after zipl has burned stages in MBR: (kguest is eoan fully updated, latest s390-tools):
[inaddy@kguest:~]$ sudo zipl -V ....... ....... ....... ....: fc:00 ....... ....... ....: vda ....... ....... ....... ......: disk device ....... ....... ......: SCSI disk layout ....... ....... : 0 img-5.2. 0-1-generic tools/stage3. bin 5.2.0-1- generic 5.2.0-1- generic 0x00005fff 0x0000ffff 0x0000efff .....: 0x00009000- 0x000091ff 0x004b8fff ....... : 0x004ba000- 0x004ba1ff 0x0125ddff
Using config file '/etc/zipl.conf'
Target device information
Device.
Device name...
Device driver name..............: virtblk
Type.
Disk layout.
Geometry - start..
File system block size..........: 4096
Physical block size.............: 512
Device size in physical blocks..: 62914560
Building bootmap in '/boot'
Adding IPL section 'ubuntu' (default)
initial ramdisk...: /boot/initrd.
signature for.....: /lib/s390-
kernel image......: /boot/vmlinuz-
signature for.....: /boot/vmlinuz-
kernel parmline...: 'root=LABEL=KGUEST noresume apparmor=0 net.ifnames=0 crashkernel=196M'
component address:
heap area.......: 0x00002000-
stack area......: 0x0000f000-
internal loader.: 0x0000a000-
parameters.
kernel image....: 0x00010000-
parmline.
initial ramdisk.: 0x004c0000-
Preparing boot device: vda (0000).
Detected plain SCSI partition.
Writing SCSI master boot record.
Syncing disks...
Done.
----
Later I IPLed tihs guest in a lxc Eoan container:
2019-07-11 02:02:39.781+0000: starting up libvirt version: 5.4.0, package: 0ubuntu3 (Marc Deslauriers <email address hidden> Tue, 02 Jul 2019 08:08:33 -0400), qemu version: 4.0.0Debian 1:4.0+dfsg- 0ubuntu1, kernel: 5.0.0-21-generic, hostname: lqemueoan local/sbin: /usr/local/ bin:/usr/ sbin:/usr/ bin:/sbin: /bin \ lib/libvirt/ qemu/domain- 2-kguesttest \ HOME=/var/ lib/libvirt/ qemu/domain- 2-kguesttest/ .local/ share \ HOME=/var/ lib/libvirt/ qemu/domain- 2-kguesttest/ .cache \ HOME=/var/ lib/libvirt/ qemu/domain- 2-kguesttest/ .config \ qemu-system- s390x \ t,debug- threads= on \ id=masterKey0, format= raw,file= /var/lib/ libvirt/ qemu/domain- 2-kguesttest/ master- key.aes \ virtio- 2.12,accel= kvm,usb= off,dump- guest-core= off \ 4,cores= 1,threads= 1 \ 3300-4e1d- b4f0-e29ecf548e 1f \ id=charmonitor, fd=22,server, nowait \ charmonitor, id=monitor, mode=control \ lib/libvirt/ images/ kguest/ disk01. ext4.qcow2, format= qcow2,if= none,id= drive-virtio- disk0 \ blk-ccw, scsi=off, devno=fe. 0.0000, drive=drive- virtio- disk0,id= virtio- disk0,bootindex =1 \ model=passthrou gh,id=fsdev- fs0,path= /home/inaddy \ 9p-ccw, id=fs0, fsdev=fsdev- fs0,mount_ tag=inaddy, devno=fe. 0.0002 \ model=passthrou gh,id=fsdev- fs1,path= /home/inaddy/ work \ 9p-ccw, id=fs1, fsdev=fsdev- fs1,mount_ tag=work, devno=fe. 0.0003 \ model=passthrou gh,id=fsdev- fs2,path= /root \ 9p-ccw, id=fs2, fsdev=fsdev- fs2,mount_ tag=root, devno=fe. 0.0004 \ model=passthrou gh,id=fsdev- fs3,path= /var/lib/ libvirt/ images \ 9p-ccw, id=fs3, fsdev=fsdev- fs3,mount_ tag=images, devno=fe. 0.0005 \ model=passthrou gh,id=fsdev- fs4,path= /etc/libvirt/ qemu \ 9p-ccw, id=fs4, fsdev=fsdev- fs4,mount_ tag=qemu, devno=fe. 0.0006 \ 25,id=hostnet0 \ net-ccw, netdev= hostnet0, id=net0, mac=52: 54:00:50: 2c:98,devno= fe.0.0001 \ chardev= charconsole0, id=console0 \ balloon- ccw,id= balloon0, devno=fe. 0.0007 \ 11T02:03: 59.982300Z qemu-system-s390x: terminating on signal 15 from pid 260 (/usr/sbin/ libvirtd)
LC_ALL=C \
PATH=/usr/
HOME=/var/
XDG_DATA_
XDG_CACHE_
XDG_CONFIG_
QEMU_AUDIO_DRV=none \
/usr/bin/
-name guest=kguesttes
-S \
-object secret,
-machine s390-ccw-
-m 4096 \
-overcommit mem-lock=off \
-smp 4,sockets=
-uuid 82d7e011-
-display none \
-no-user-config \
-nodefaults \
-chardev socket,
-mon chardev=
-rtc base=utc \
-no-shutdown \
-boot strict=on \
-drive file=/var/
-device virtio-
-fsdev local,security_
-device virtio-
-fsdev local,security_
-device virtio-
-fsdev local,security_
-device virtio-
-fsdev local,security_
-device virtio-
-fsdev local,security_
-device virtio-
-netdev tap,fd=
-device virtio-
-chardev pty,id=charconsole0 \
-device sclpconsole,
-device virtio-
-sandbox off \
-msg timestamp=on
2019-07-11 02:02:39.781+0000: Domain id=2 is tainted: high-privileges
char device redirected to /dev/pts/5 (label charconsole0)
2019-07-
2019-07-11 02:04:00.375+0000: shutting down, reason=shutdown
And it worked good because of your last Eoan merge.
When trying in Disco I got:
... '0x000200018000 0000' psw-addr= '0x000000000000 0000' reason= 'disabled- wait'
2019-07-11 02:02:06.249+0000: Domain id=1 is tainted: high-privileges
char device redirected to /dev/pts/5 (label charconsole0)
2019-07-11 02:02:06.362+0000: panic s390: core='0' psw-mask=