06.12.2023 17:47, Reinhard Karcher :
> reinhard@apollon:~$ cat kvm-Laptop.core
> #/bin/sh
> qemu-system-x86_64 \
> -enable-kvm -cpu host \
> -smp 8 \
> -m 4096 \
> -nographic \
> -device intel-hda -device hda-duplex \
> -chardev socket,id=char0,path=/var/run/apollon-vhost-fs.sock \
> -device vhost-user-fs-pci,chardev=char0,tag=apollonfs \
> -object memory-backend-memfd,id=mem0,size=4096M,share=on \
> -numa node,memdev=mem0 \
> -net nic,macaddr=00:16:3E:48:79:E8,model=virtio -net tap,ifname=tap1,script=no
> \
> -usb \
> -device usb-tablet \
> -device usb-host,vendorid=0x0c4b,productid=0x9102 \
> -object rng-random,filename=/dev/urandom,id=rng07 \
> -drive file=/opt/kvm_laptop.img,if=virtio,cache=writeback,media=disk,format=raw
> \
> -cdrom /dev/cdrom \
> -k de \
> "$@"
With this command line, qemu (or seabios) will try to boot off vhost-user-fs-pci
device but will most likely fail. I dunno why it tries to boot out of unsupported
device, but this is what it does for me anyway, unless I also add `bootindex=-1'
to this device (to exclude it from boot).
Or if I move -drive line before vhost-user-fs-pci line, it also boots out of
"kvm_laptop.img" device, the same way as with adding bootindex=-1.
So I don't know once again how you actually start this.
And it just works for me after rearranging boot order in the above command line.
Seabios, as far as I can see, does not have any support of virtiofs whatsoever,
neither older nor last one. Seabios 1.16.3 does not have changes related to
virtio or vhost, it's mostly a bugfix release, so I've no idea how you managed
to relate this issue at hand with seabios update.
I don't know what to do here.
/mjt