ArmVirtPkg/PlatformBootManagerLib: connect Virtio RNG devices again
Virtio RNG devices are never boot devices, so in commitff1d0fbfbawe 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 commitff1d0fbfbaremoved 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> Fixes:ff1d0fbfbaRef: 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>
This commit is contained in:
		| @@ -83,3 +83,4 @@ | ||||
|   gEfiLoadedImageProtocolGuid | ||||
|   gEfiPciRootBridgeIoProtocolGuid | ||||
|   gEfiSimpleFileSystemProtocolGuid | ||||
|   gVirtioDeviceProtocolGuid | ||||
|   | ||||
		Reference in New Issue
	
	Block a user