diff options
author | Laszlo Ersek <lersek@redhat.com> | 2018-05-17 21:51:11 +0200 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2018-05-18 13:51:21 +0200 |
commit | 7ebad830d6ab61f0395f6f4bae4156664bbd8086 (patch) | |
tree | 429040ad7fb616d6576020c2583def9ac847b451 /BaseTools/Source/Python/AutoGen/StrGather.py | |
parent | c4add6b6e971e0bb3f276ed3636a083e782e96cc (diff) | |
download | edk2-7ebad830d6ab61f0395f6f4bae4156664bbd8086.tar.gz edk2-7ebad830d6ab61f0395f6f4bae4156664bbd8086.tar.bz2 edk2-7ebad830d6ab61f0395f6f4bae4156664bbd8086.zip |
OvmfPkg/PlatformBootManagerLib: connect Virtio RNG devices again
Virtio RNG devices are never boot devices, so in commit 245c643cc8b7 we
stopped connecting them. This is a problem because an OS boot loader may
depend on EFI_RNG_PROTOCOL to seed the OS's RNG.
Connect Virtio RNG devices again. And, while commit 245c643cc8b7 removed
that from PlatformBootManagerAfterConsole(), reintroduce it now to
PlatformBootManagerBeforeConsole() -- this way Driver#### options launched
between both functions may access EFI_RNG_PROTOCOL too.
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Fixes: 245c643cc8b73240c3b88cb55b2911b285a8c10d
Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1579518
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'BaseTools/Source/Python/AutoGen/StrGather.py')
0 files changed, 0 insertions, 0 deletions