Branch: connect_vrng_bz1579518

This is a fix for another regression from the March 2018 series

  [edk2] [PATCH 0/6] OvmfPkg, ArmVirtQemu: leaner platform BDS policy
                     for connecting devices

Turns out EfiBootManagerConnectAll() used to connect devices one doesn't
really think about every day. I stumbled upon this when an aarch64 guest
kernel printed

> EFI stub: EFI_RNG_PROTOCOL unavailable, no randomness supplied

whereas I had just looked at the domain XML and seen the virtio-rng
device model in it.

Tested extensively as described in
<> and

Cc: Ard Biesheuvel <>
Cc: Jordan Justen <>


Laszlo Ersek (2):
  ArmVirtPkg/PlatformBootManagerLib: connect Virtio RNG devices again
  OvmfPkg/PlatformBootManagerLib: connect Virtio RNG devices again

 ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.c               | 129 
 ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf |   1 +
 OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c                 | 105 
 OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.h                 |   1 +
 4 files changed, 236 insertions(+)


edk2-devel mailing list

Reply via email to