OvmfPkg/Microvm/virtio: add virtio-mmio support
Add virtio-mmio support (VirtioMmioDeviceLib and VirtioFdtDxe). With this patch added and a new enough qemu version (6.2+) edk2 will detect virtio-mmio devices, so it is possible to boot from storage (virtio-blk, virtio-scsi) or network (virtio-net). Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3689 Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
This commit is contained in:
committed by
mergify[bot]
parent
c802f8935c
commit
2a68abf6ee
@@ -233,6 +233,7 @@
|
|||||||
SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
|
SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
|
||||||
PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
|
PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
|
||||||
FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
|
FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
|
||||||
|
VirtioMmioDeviceLib|OvmfPkg/Library/VirtioMmioDeviceLib/VirtioMmioDeviceLib.inf
|
||||||
|
|
||||||
[LibraryClasses.common.SEC]
|
[LibraryClasses.common.SEC]
|
||||||
QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
|
QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
|
||||||
@@ -747,6 +748,7 @@
|
|||||||
# device tree
|
# device tree
|
||||||
#
|
#
|
||||||
EmbeddedPkg/Drivers/FdtClientDxe/FdtClientDxe.inf
|
EmbeddedPkg/Drivers/FdtClientDxe/FdtClientDxe.inf
|
||||||
|
OvmfPkg/Fdt/VirtioFdtDxe/VirtioFdtDxe.inf
|
||||||
|
|
||||||
#
|
#
|
||||||
# SMBIOS Support
|
# SMBIOS Support
|
||||||
|
@@ -277,6 +277,7 @@ INF MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
|
|||||||
INF OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
|
INF OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
|
||||||
|
|
||||||
INF EmbeddedPkg/Drivers/FdtClientDxe/FdtClientDxe.inf
|
INF EmbeddedPkg/Drivers/FdtClientDxe/FdtClientDxe.inf
|
||||||
|
INF OvmfPkg/Fdt/VirtioFdtDxe/VirtioFdtDxe.inf
|
||||||
|
|
||||||
!if $(TOOL_CHAIN_TAG) != "XCODE5"
|
!if $(TOOL_CHAIN_TAG) != "XCODE5"
|
||||||
INF ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf
|
INF ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf
|
||||||
|
Reference in New Issue
Block a user