Would you please help me understand what the relationship is between VirtioMmio and VirtioFdt ?
The Bugzilla just states "add support for virtio-mmio devices". How VirtioFdt comes into this case? Thank you Yao Jiewen > -----Original Message----- > From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Gerd > Hoffmann > Sent: Thursday, October 14, 2021 11:30 PM > To: devel@edk2.groups.io > Cc: Ard Biesheuvel <ardb+tianoc...@kernel.org>; Justen, Jordan L > <jordan.l.jus...@intel.com>; Yao, Jiewen <jiewen....@intel.com>; Gerd > Hoffmann <kra...@redhat.com> > Subject: [edk2-devel] [PATCH 4/5] OvmfPkg/Microvm/virtio: add virtio-mmio > support > > Add virtio-mmio support (VirtioMmioDeviceLib and VirtioFdtDxe). > > https://bugzilla.tianocore.org/show_bug.cgi?id=3689 > Signed-off-by: Gerd Hoffmann <kra...@redhat.com> > --- > OvmfPkg/Microvm/MicrovmX64.dsc | 2 ++ > OvmfPkg/Microvm/MicrovmX64.fdf | 1 + > 2 files changed, 3 insertions(+) > > diff --git a/OvmfPkg/Microvm/MicrovmX64.dsc > b/OvmfPkg/Microvm/MicrovmX64.dsc > index 27d2024266c2..85afdca9beba 100644 > --- a/OvmfPkg/Microvm/MicrovmX64.dsc > +++ b/OvmfPkg/Microvm/MicrovmX64.dsc > @@ -233,6 +233,7 @@ [LibraryClasses.common] > > SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib > 16550.inf > > PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatfo > rmHookLibNull.inf > FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf > + > VirtioMmioDeviceLib|OvmfPkg/Library/VirtioMmioDeviceLib/VirtioMmioDevice > Lib.inf > > [LibraryClasses.common.SEC] > QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf > @@ -743,6 +744,7 @@ [Components] > # device tree > # > EmbeddedPkg/Drivers/FdtClientDxe/FdtClientDxe.inf > + OvmfPkg/Fdt/VirtioFdtDxe/VirtioFdtDxe.inf > > # > # SMBIOS Support > diff --git a/OvmfPkg/Microvm/MicrovmX64.fdf > b/OvmfPkg/Microvm/MicrovmX64.fdf > index cc8892a459ee..0bf20a702764 100644 > --- a/OvmfPkg/Microvm/MicrovmX64.fdf > +++ b/OvmfPkg/Microvm/MicrovmX64.fdf > @@ -278,6 +278,7 @@ [FV.DXEFV] > INF OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf > > INF EmbeddedPkg/Drivers/FdtClientDxe/FdtClientDxe.inf > +INF OvmfPkg/Fdt/VirtioFdtDxe/VirtioFdtDxe.inf > > !if $(TOOL_CHAIN_TAG) != "XCODE5" > INF > ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf > -- > 2.31.1 > > > > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#82080): https://edk2.groups.io/g/devel/message/82080 Mute This Topic: https://groups.io/mt/86316759/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-