diff options
author | Flickdm <douglas.flick@microsoft.com> | 2024-05-20 11:06:35 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-05-24 15:48:52 +0000 |
commit | 677204f941af2b7292d39d33384c6d7bbbe9a71f (patch) | |
tree | ed790289c4de5463467f989e1e7eaad75cf6029e /ArmVirtPkg | |
parent | cb9d71189134e78efb00759eb9649ce92bf5b29a (diff) | |
download | edk2-677204f941af2b7292d39d33384c6d7bbbe9a71f.tar.gz edk2-677204f941af2b7292d39d33384c6d7bbbe9a71f.tar.bz2 edk2-677204f941af2b7292d39d33384c6d7bbbe9a71f.zip |
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 <ardb+tianocore@kernel.org>
Cc: Leif Lindholm <quic_llindhol@quicinc.com>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Doug Flick [MSFT] <doug.edk2@gmail.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'ArmVirtPkg')
-rw-r--r-- | ArmVirtPkg/PlatformCI/PlatformBuildLib.py | 2 |
1 files changed, 2 insertions, 0 deletions
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"):
|