summaryrefslogtreecommitdiff
path: root/OvmfPkg/IntelTdx/IntelTdxX64.dsc
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2024-05-24 12:51:17 +0200
committerArd Biesheuvel <workofard@gmail.com>2024-06-13 08:52:48 -0700
commit712797cf19acd292bf203522a79e40e7e13d268b (patch)
treeb0f96dfd80e4ff2a9f8c9d2a7d6204c35301ede0 /OvmfPkg/IntelTdx/IntelTdxX64.dsc
parenta61bc0accb8a76edba4f073fdc7bafc908df045d (diff)
downloadedk2-712797cf19acd292bf203522a79e40e7e13d268b.zip
edk2-712797cf19acd292bf203522a79e40e7e13d268b.tar.gz
edk2-712797cf19acd292bf203522a79e40e7e13d268b.tar.bz2
OvmfPkg: wire up RngDxe
Add OvmfRng include snippets with the random number generator configuration for OVMF. Include RngDxe, build with BaseRngLib, so the rdrand instruction is used (if available). Also move VirtioRng to the include snippets. Use the new include snippets for OVMF builds. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'OvmfPkg/IntelTdx/IntelTdxX64.dsc')
-rw-r--r--OvmfPkg/IntelTdx/IntelTdxX64.dsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/OvmfPkg/IntelTdx/IntelTdxX64.dsc b/OvmfPkg/IntelTdx/IntelTdxX64.dsc
index 0931ce0..fc13325 100644
--- a/OvmfPkg/IntelTdx/IntelTdxX64.dsc
+++ b/OvmfPkg/IntelTdx/IntelTdxX64.dsc
@@ -635,7 +635,6 @@
OvmfPkg/Virtio10Dxe/Virtio10.inf
OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
- OvmfPkg/VirtioRngDxe/VirtioRng.inf
!if $(PVSCSI_ENABLE) == TRUE
OvmfPkg/PvScsiDxe/PvScsiDxe.inf
!endif
@@ -718,6 +717,7 @@
MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
!include OvmfPkg/Include/Dsc/ShellComponents.dsc.inc
+!include OvmfPkg/Include/Dsc/OvmfRngComponents.dsc.inc
!if $(SECURE_BOOT_ENABLE) == TRUE
SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf