Hi Xiaoyao, On Tue, Aug 2, 2022 at 5:06 PM Jason A. Donenfeld <ja...@zx2c4.com> wrote: > > Hi Xiaoyao, > > On Tue, Aug 02, 2022 at 10:53:07PM +0800, Xiaoyao Li wrote: > > yes, with >= 7.1, pcmc->legacy_no_rng_seed = false by default, and RNG > > seed is used. > > This is intended behavior. Being on by default is basically the whole > point of it. Otherwise it's useless. > > > > > > Either way, this shouldn't cause boot failures. > > > > It does fail booting OVMF with #PF. Below diff can fix the #PF for me. > > Huh, interesting. Sounds like maybe there's a bug I need to fix. Can you > send me some repro instructions, and I'll look into it right away.
I just tried booting Fedora using OVMF and didn't have any problems. I used this command line: qemu-system-x86_64 -machine q35 -enable-kvm -cpu host,-rdrand,-rdseed -smp cores=8 -drive file=disk.qcow2,if=virtio -net nic,model=virtio -net user,hostfwd=tcp::19230-:22 -m 8G -vga qxl -device virtio-serial-pci -device virtserialport,chardev=spicechannel0,name=com.redhat.spice. 0 -chardev spicevmc,id=spicechannel0,name=vdagent -spice unix,addr=/tmp/vm_spice_fedora.socket,disable-ticketing,playback-compression=off,agen t-mouse=on,seamless-migration,gl=on -device virtserialport,chardev=spicechannel1,name=org.spice-space.webdav.0 -chardev spiceport,id=spicechan nel1,name=org.spice-space.webdav.0 -global driver=cfi.pflash01,property=secure,value=on -drive if=pflash,format=raw,unit=0,file=OVMF_CODE.secb oot.fd,readonly=on -drive if=pflash,format=raw,file=OVMF_VARS.secboot.fd Can you tell me what you're using and give me some links with various images and such? Doing the straight forward thing doesn't reproduce it for me. Thanks, Jason