Skip to content

Commit

Permalink
OvmfPkg/Xen: Fix use of networking
Browse files Browse the repository at this point in the history
Since commit 4c4ceb2 ("NetworkPkg: SECURITY PATCH CVE-2023-45237"),
networking modules depend on gEfiRngProtocolGuid but nothing in OvmfXen
provides it. This is visible in the logs as several modules present but
not loading:

Driver A2F436EA-A127-4EF8-957C-8048606FF670 was discovered but not loaded!!
Driver E4F61863-FE2C-4B56-A8F4-08519BC439DF was discovered but not loaded!!
Driver 025BBFC7-E6A9-4B8B-82AD-6815A1AEAF4A was discovered but not loaded!!
Driver 529D3F93-E8E9-4E73-B1E1-BDF6A9D50113 was discovered but not loaded!!
Driver 94734718-0BBC-47FB-96A5-EE7A5AE6A2AD was discovered but not loaded!!

Include SecurityPkg/RandomNumberGenerator/RngDxe to fix this.

Signed-off-by: Ross Lagerwall <[email protected]>
  • Loading branch information
rosslagerwall authored and mergify[bot] committed Jun 15, 2024
1 parent cf323e2 commit a84876b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions OvmfPkg/OvmfXen.dsc
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,8 @@
OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf

SecurityPkg/RandomNumberGenerator/RngDxe/RngDxe.inf

#
# ISA Support
#
Expand Down
2 changes: 2 additions & 0 deletions OvmfPkg/OvmfXen.fdf
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,8 @@ INF ShellPkg/Application/Shell/Shell.inf

INF MdeModulePkg/Logo/LogoDxe.inf

INF SecurityPkg/RandomNumberGenerator/RngDxe/RngDxe.inf

#
# Hash2 Protocol producer
#
Expand Down

0 comments on commit a84876b

Please sign in to comment.