For clarity, to do not confuse the audience, I am back to virgin files (vmlinuz, rootfs.gz, modules.gz, *.tcz), so Xvesa for now.
[BUT it is the same small "problem" as with Xfbdev running in both in x86 and x86_64]; I
concatenated rootfs.gz + modules.gz into MyCore,gz (because I can not have multiple -initrd parameters in qemu
).
I created sda1.qcow2 file, from linux I formatted as ext2 and mounted [so it has NO PARTITIONS] and I populated its
/tce/optional folder with virgin *.tcz and *tcz.dep, and I have /tce/onboot.lst etc.
case 1: booting with
"legacy" -hda is working, Xvesa shows up automatically.
qemu-system-i386.exe -machine q35 -cpu max -m 128M -vga virtio -kernel vmlinuz -initrd Mycore.gz -hda sda1.qcow2
case 2: booting with
"Virtio" vda is NOT working by default, only manually.
qemu-system-i386.exe -machine q35 -cpu max -m 128M -vga virtio -kernel vmlinuz -initrd Mycore.gz -drive file=sda1.qcow2,if=virtio,media=disk
In cat /etc/fstab I have the mount point /mnt/vda mapped to /dev/vda, OK. But the mount command shows that
/dev/vda is not mounted yet. So of course tczs are not loaded, and Xvesa is not shown.
I tried even with
individual -append cases, like tce=vda, tce=/mnt/vda, tce=/dev/vda etc. No success.
The bug: the virgin scripts are focused MAINLY on strings like sda* but not vda*. This happens with VIRTIO and with sda.qcow2 partitioned or not.