From 677204f941af2b7292d39d33384c6d7bbbe9a71f Mon Sep 17 00:00:00 2001 From: Flickdm Date: Mon, 20 May 2024 11:06:35 -0700 Subject: ArmVirtPkg PlatformCI: Support virtio-rng-pci This patch adds "virtio-rng-pci" to the PlatformBuildLib.py This adds Rng services to the guest VM Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Sami Mujawar Cc: Gerd Hoffmann Signed-off-by: Doug Flick [MSFT] Reviewed-by: Ard Biesheuvel --- ArmVirtPkg/PlatformCI/PlatformBuildLib.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ArmVirtPkg') diff --git a/ArmVirtPkg/PlatformCI/PlatformBuildLib.py b/ArmVirtPkg/PlatformCI/PlatformBuildLib.py index 0ddaccf9c2..3abab09141 100644 --- a/ArmVirtPkg/PlatformCI/PlatformBuildLib.py +++ b/ArmVirtPkg/PlatformCI/PlatformBuildLib.py @@ -240,6 +240,8 @@ class PlatformBuilder(UefiBuilder, BuildSettingsManager): args += " -serial stdio" # Mount disk with startup.nsh args += f" -drive file=fat:rw:{VirtualDrive},format=raw,media=disk" + # Provides Rng services to the Guest VM + args += " -device virtio-rng-pci" # Conditional Args if (self.env.GetValue("QEMU_HEADLESS").upper() == "TRUE"): -- cgit v1.2.3