The FVP model implements a Virtio block device that can be accessed from a Guest OS if it has an appropriate driver. It is targeted primarily at Linux, which has a built-in Virtio block driver. VirtioBlockDevice allows to use a file on the host that is specified using the models image_path parameter, as a hard drive in the Guest OS.
Therefore, add the Virtio block device description to the DSDT. Signed-off-by: Sami Mujawar <sami.muja...@arm.com> --- Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe/AslTables/Dsdt.asl | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe/AslTables/Dsdt.asl b/Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe/AslTables/Dsdt.asl index 64d697e344ffb5b5b6c4ef31b8245f10a1a18c76..e04003d562ddc410d4981d7e4527ecc78c440440 100644 --- a/Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe/AslTables/Dsdt.asl +++ b/Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe/AslTables/Dsdt.asl @@ -57,5 +57,16 @@ DefinitionBlock("DsdtTable.aml", "DSDT", 1, "ARMLTD", "ARM-VEXP", 1) { Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive) {0x2F} }) } + + // VIRTIO block device + Device (VIRT) { + Name (_HID, "LNRO0005") + Name (_UID, 0) + + Name (_CRS, ResourceTemplate() { + Memory32Fixed (ReadWrite, 0x1c130000, 0x1000) + Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive) {0x4A} + }) + } } // Scope(_SB) } -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#71640): https://edk2.groups.io/g/devel/message/71640 Mute This Topic: https://groups.io/mt/80580220/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-