Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 64ef0dd1d3c0b8989c6a660fe0f0cba633093f57
      
https://github.com/tianocore/edk2/commit/64ef0dd1d3c0b8989c6a660fe0f0cba633093f57
  Author: Gerd Hoffmann <[email protected]>
  Date:   2021-12-13 (Mon, 13 Dec 2021)

  Changed paths:
    M OvmfPkg/Microvm/MicrovmX64.dsc
    M OvmfPkg/Microvm/MicrovmX64.fdf

  Log Message:
  -----------
  OvmfPkg/Microvm/fdt: add device tree support

Add fdt parser from EmbeddedPkg (FdtLib and FdtClientDxe) to MicrovmX64.

Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3689
Signed-off-by: Gerd Hoffmann <[email protected]>
Reviewed-by: Philippe Mathieu-Daude <[email protected]>


  Commit: 79dcaf7054dbe90a30c7ce288b7f2ed882d96cf2
      
https://github.com/tianocore/edk2/commit/79dcaf7054dbe90a30c7ce288b7f2ed882d96cf2
  Author: Gerd Hoffmann <[email protected]>
  Date:   2021-12-13 (Mon, 13 Dec 2021)

  Changed paths:
    M OvmfPkg/PlatformPei/Platform.c
    M OvmfPkg/PlatformPei/PlatformPei.inf

  Log Message:
  -----------
  OvmfPkg/Microvm/fdt: load fdt from fw_cfg

Needed for hardware detection: virtio-mmio devices for now,
later also pcie root bridge.

Depends on patched qemu which actually provides an fdt:
https://gitlab.com/kraxel/qemu/-/commits/sirius/microvm-device-tree

Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3689
Signed-off-by: Gerd Hoffmann <[email protected]>
Reviewed-by: Philippe Mathieu-Daude <[email protected]>


  Commit: c802f8935ca34f06f22292c92ed152db89c66f00
      
https://github.com/tianocore/edk2/commit/c802f8935ca34f06f22292c92ed152db89c66f00
  Author: Gerd Hoffmann <[email protected]>
  Date:   2021-12-13 (Mon, 13 Dec 2021)

  Changed paths:
    M OvmfPkg/PlatformPei/Platform.c

  Log Message:
  -----------
  OvmfPkg/Microvm/fdt: add empty fdt

FdtClient is unhappy without a device tree, so add an empty fdt
which we can use in case etc/fdt is not present in fw_cfg.

On ARM machines a device tree is mandatory for hardware detection,
that's why FdtClient fails hard.

On microvm the device tree is only used to detect virtio-mmio devices
(this patch series) and the pcie host (future series).  So edk2 can
continue with limited functionality in case no device tree is present:
no storage, no network, but serial console and direct kernel boot
works.

qemu release 6.2 & newer will provide a device tree for microvm.

Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3689
Signed-off-by: Gerd Hoffmann <[email protected]>
Reviewed-by: Philippe Mathieu-Daude <[email protected]>


  Commit: 2a68abf6eec28f4d1b9f7ad30e1baa1ea3d11965
      
https://github.com/tianocore/edk2/commit/2a68abf6eec28f4d1b9f7ad30e1baa1ea3d11965
  Author: Gerd Hoffmann <[email protected]>
  Date:   2021-12-13 (Mon, 13 Dec 2021)

  Changed paths:
    M OvmfPkg/Microvm/MicrovmX64.dsc
    M OvmfPkg/Microvm/MicrovmX64.fdf

  Log Message:
  -----------
  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 <[email protected]>
Reviewed-by: Philippe Mathieu-Daude <[email protected]>


  Commit: e07d27e24d5dc9b11260d81bc2d2444d194baf62
      
https://github.com/tianocore/edk2/commit/e07d27e24d5dc9b11260d81bc2d2444d194baf62
  Author: Gerd Hoffmann <[email protected]>
  Date:   2021-12-13 (Mon, 13 Dec 2021)

  Changed paths:
    A OvmfPkg/Microvm/README

  Log Message:
  -----------
  OvmfPkg/Microvm: add README

Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3599
Signed-off-by: Gerd Hoffmann <[email protected]>
Acked-by: Jiewen Yao <[email protected]>
Reviewed-by: Philippe Mathieu-Daude <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/1203eba58ecf...e07d27e24d5d


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to