This patch adds "virtio-rng-pci" to the PlatformBuildLib.py This adds Rng services to the guest VM
Cc: Ard Biesheuvel <[email protected]> Cc: Leif Lindholm <[email protected]> Cc: Sami Mujawar <[email protected]> Cc: Gerd Hoffmann <[email protected]> Signed-off-by: Doug Flick [MSFT] <[email protected]> --- ArmVirtPkg/PlatformCI/PlatformBuildLib.py | 2 ++ 1 file changed, 2 insertions(+) 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"): -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119232): https://edk2.groups.io/g/devel/message/119232 Mute This Topic: https://groups.io/mt/106276857/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
