[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PULL 9/9] hw/i386: pass RNG seed via setup_data entry
From: |
Jason A. Donenfeld |
Subject: |
Re: [PULL 9/9] hw/i386: pass RNG seed via setup_data entry |
Date: |
Tue, 2 Aug 2022 17:13:26 +0200 |
Hi Xiaoyao,
On Tue, Aug 2, 2022 at 5:06 PM Jason A. Donenfeld <Jason@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
- Re: [PULL 9/9] hw/i386: pass RNG seed via setup_data entry, Xiaoyao Li, 2022/08/01
- Re: [PULL 9/9] hw/i386: pass RNG seed via setup_data entry, Jason A. Donenfeld, 2022/08/02
- Re: [PULL 9/9] hw/i386: pass RNG seed via setup_data entry, Xiaoyao Li, 2022/08/02
- Re: [PULL 9/9] hw/i386: pass RNG seed via setup_data entry, Jason A. Donenfeld, 2022/08/02
- Re: [PULL 9/9] hw/i386: pass RNG seed via setup_data entry,
Jason A. Donenfeld <=
- Re: [PULL 9/9] hw/i386: pass RNG seed via setup_data entry, Xiaoyao Li, 2022/08/02
- Re: [PULL 9/9] hw/i386: pass RNG seed via setup_data entry, Daniel P . Berrangé, 2022/08/03
- Re: [PULL 9/9] hw/i386: pass RNG seed via setup_data entry, Jason A. Donenfeld, 2022/08/03
- Re: [PULL 9/9] hw/i386: pass RNG seed via setup_data entry, Jason A. Donenfeld, 2022/08/03
- Re: [PULL 9/9] hw/i386: pass RNG seed via setup_data entry, Jason A. Donenfeld, 2022/08/03
- Re: [PULL 9/9] hw/i386: pass RNG seed via setup_data entry, Michael S. Tsirkin, 2022/08/03
- Re: [PULL 9/9] hw/i386: pass RNG seed via setup_data entry, Jason A. Donenfeld, 2022/08/03
- Re: [PULL 9/9] hw/i386: pass RNG seed via setup_data entry, Michael S. Tsirkin, 2022/08/03
- Re: [PULL 9/9] hw/i386: pass RNG seed via setup_data entry, Laszlo Ersek, 2022/08/04