|
[PATCH v3 4/5] 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
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
|
By
Gerd Hoffmann
·
#84688
·
|
|
[PATCH v3 2/5] 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
Needed for hardware detection: virtio-mmio devices for now,
later also pcie root bridge.
Depends on patched qemu which actually provides an
|
By
Gerd Hoffmann
·
#84687
·
|
|
[PATCH v3 1/5] 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 <kraxel@...>
---
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 <kraxel@...>
---
|
By
Gerd Hoffmann
·
#84686
·
|
|
[PATCH v3 3/5] 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,
thats why
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,
thats why
|
By
Gerd Hoffmann
·
#84685
·
|
|
[PATCH v3 0/5] OvmfPkg/Microvm: second batch of microvm patches
Adds support for virtio-mmio devices to microvm.
While being at it also add the README, the
patch somehow disappeared from the first batch.
v3:
- uncrustify & rebase to latest master
- pick up
Adds support for virtio-mmio devices to microvm.
While being at it also add the README, the
patch somehow disappeared from the first batch.
v3:
- uncrustify & rebase to latest master
- pick up
|
By
Gerd Hoffmann
·
#84684
·
|
|
[PATCH v4 6/7] OvmfPkg/PlatformCI: dummy grub.efi for AmdSev
Building grub.efi for AmdSev is difficult because it depends on patches
not yet merged to upstream grub. So shortcut the grub build by simply
creating an empty grub.efi file. That allows to at least
Building grub.efi for AmdSev is difficult because it depends on patches
not yet merged to upstream grub. So shortcut the grub build by simply
creating an empty grub.efi file. That allows to at least
|
By
Gerd Hoffmann
·
#84683
·
|
|
[PATCH v4 7/7] OvmfPkg/PlatformCI: add XenBuild.py
Add build test for OvmfXen.
Signed-off-by: Gerd Hoffmann <kraxel@...>
---
.../.azurepipelines/Ubuntu-GCC5.yml | 9 +++++
OvmfPkg/PlatformCI/XenBuild.py | 37
Add build test for OvmfXen.
Signed-off-by: Gerd Hoffmann <kraxel@...>
---
.../.azurepipelines/Ubuntu-GCC5.yml | 9 +++++
OvmfPkg/PlatformCI/XenBuild.py | 37
|
By
Gerd Hoffmann
·
#84682
·
|
|
[PATCH v4 5/7] OvmfPkg/PlatformCI: add AmdSevBuild.py
Add build test for OvmfPkg/AmdSev.
Signed-off-by: Gerd Hoffmann <kraxel@...>
Acked-by: Jiewen Yao <Jiewen.yao@...>
Acked-by: Ard Biesheuvel <ardb@...>
Reviewed-by: Philippe
Add build test for OvmfPkg/AmdSev.
Signed-off-by: Gerd Hoffmann <kraxel@...>
Acked-by: Jiewen Yao <Jiewen.yao@...>
Acked-by: Ard Biesheuvel <ardb@...>
Reviewed-by: Philippe
|
By
Gerd Hoffmann
·
#84681
·
|
|
[PATCH v4 3/7] OvmfPkg/PlatformCI: add BhyveBuild.py
Add build test for OvmfPkg/Bhyve.
Signed-off-by: Gerd Hoffmann <kraxel@...>
Acked-by: Jiewen Yao <Jiewen.yao@...>
Acked-by: Ard Biesheuvel <ardb@...>
---
Add build test for OvmfPkg/Bhyve.
Signed-off-by: Gerd Hoffmann <kraxel@...>
Acked-by: Jiewen Yao <Jiewen.yao@...>
Acked-by: Ard Biesheuvel <ardb@...>
---
|
By
Gerd Hoffmann
·
#84680
·
|
|
[PATCH v4 4/7] OvmfPkg/PlatformCI: add MicrovmBuild.py
Add build test for OvmfPkg/Microvm.
Signed-off-by: Gerd Hoffmann <kraxel@...>
Acked-by: Jiewen Yao <Jiewen.yao@...>
Acked-by: Ard Biesheuvel <ardb@...>
Reviewed-by: Philippe
Add build test for OvmfPkg/Microvm.
Signed-off-by: Gerd Hoffmann <kraxel@...>
Acked-by: Jiewen Yao <Jiewen.yao@...>
Acked-by: Ard Biesheuvel <ardb@...>
Reviewed-by: Philippe
|
By
Gerd Hoffmann
·
#84679
·
|
|
[PATCH v4 2/7] OvmfPkg/PlatformCI: add QEMU_SKIP
Skip the qemu boot test in case QEMU_SKIP is set to true.
Signed-off-by: Gerd Hoffmann <kraxel@...>
Acked-by: Jiewen Yao <Jiewen.yao@...>
Acked-by: Ard Biesheuvel
Skip the qemu boot test in case QEMU_SKIP is set to true.
Signed-off-by: Gerd Hoffmann <kraxel@...>
Acked-by: Jiewen Yao <Jiewen.yao@...>
Acked-by: Ard Biesheuvel
|
By
Gerd Hoffmann
·
#84678
·
|
|
[PATCH v4 0/7] OvmfPkg/PlatformCI: hook up AmdSev, Bhyve and Microvm
v4:
- pick up review tags.
- rebase to latest master.
v3:
- pick up Acked-by:
- use __file__ to extend path
v2:
- hook up OvmfXen too.
- add CI maintainers to Cc.
Gerd Hoffmann (7):
v4:
- pick up review tags.
- rebase to latest master.
v3:
- pick up Acked-by:
- use __file__ to extend path
v2:
- hook up OvmfXen too.
- add CI maintainers to Cc.
Gerd Hoffmann (7):
|
By
Gerd Hoffmann
·
#84677
·
|
|
[PATCH v4 1/7] OvmfPkg/PlatformCI: factor out PlatformBuildLib.py
Move SettingsManager and PlatformBuilder classes to PlatformBuildLib.py
file, keep only CommonPlatform class in PlatformBuild.py. Allows
reusing these classes for other builds. Pure code motion, no
Move SettingsManager and PlatformBuilder classes to PlatformBuildLib.py
file, keep only CommonPlatform class in PlatformBuild.py. Allows
reusing these classes for other builds. Pure code motion, no
|
By
Gerd Hoffmann
·
#84676
·
|
|
Re: [PATCH V3 29/29] OvmfPkg: Update IoMmuDxe to support TDX
Hi,
Thanks for the suggestion. I will carefully think about it and figure out if it is feasible. (A Poc as the first step )
Thanks
Min
Hi,
Thanks for the suggestion. I will carefully think about it and figure out if it is feasible. (A Poc as the first step )
Thanks
Min
|
By
Min Xu
·
#84675
·
|
|
[PATCH 2/2] OvmfPkg/Bhyve: add MemEncryptSevLib
Fixes build failure:
build.py...
/home/kraxel/projects/edk2/OvmfPkg/Bhyve/BhyveX64.dsc(...): error 1001: Module type [SEC] is not supported by library instance
Fixes build failure:
build.py...
/home/kraxel/projects/edk2/OvmfPkg/Bhyve/BhyveX64.dsc(...): error 1001: Module type [SEC] is not supported by library instance
|
By
Gerd Hoffmann
·
#84674
·
|
|
[PATCH 0/2] two sev build fixes
Gerd Hoffmann (2):
OvmfPkg/Microvm: add PcdConfidentialComputingGuestAttr
OvmfPkg/Bhyve: add MemEncryptSevLib
OvmfPkg/Bhyve/BhyveX64.dsc | 1 +
OvmfPkg/Microvm/MicrovmX64.dsc | 3 +++
2
Gerd Hoffmann (2):
OvmfPkg/Microvm: add PcdConfidentialComputingGuestAttr
OvmfPkg/Bhyve: add MemEncryptSevLib
OvmfPkg/Bhyve/BhyveX64.dsc | 1 +
OvmfPkg/Microvm/MicrovmX64.dsc | 3 +++
2
|
By
Gerd Hoffmann
·
#84673
·
|
|
[PATCH 1/2] OvmfPkg/Microvm: add PcdConfidentialComputingGuestAttr
Fixes build failure:
/home/kraxel/projects/edk2/OvmfPkg/PlatformPei/AmdSev.c: In function ‘AmdSevInitialize’:
/home/kraxel/projects/edk2/MdePkg/Include/Library/PcdLib.h:511:38: error: implicit
Fixes build failure:
/home/kraxel/projects/edk2/OvmfPkg/PlatformPei/AmdSev.c: In function ‘AmdSevInitialize’:
/home/kraxel/projects/edk2/MdePkg/Include/Library/PcdLib.h:511:38: error: implicit
|
By
Gerd Hoffmann
·
#84672
·
|
|
Re: [PATCH V3 29/29] OvmfPkg: Update IoMmuDxe to support TDX
Well, I still think there is opportunity to share code, specifically the
page table handling. Have a generic page table walker which is able to
set and clear bits for a given memory range. Then the
Well, I still think there is opportunity to share code, specifically the
page table handling. Have a generic page table walker which is able to
set and clear bits for a given memory range. Then the
|
By
Gerd Hoffmann
·
#84671
·
|
|
Re: [PATCH V3 29/29] OvmfPkg: Update IoMmuDxe to support TDX
Hi
MemEncryptSevClearPageEncMask () is implemented in MemEncryptSevLib.
MemEncryptTdxSetPageSharedBit () is implemented in MemEncryptTdxlib.
Yes, we have considered to merge these 2 EncryptLib into
Hi
MemEncryptSevClearPageEncMask () is implemented in MemEncryptSevLib.
MemEncryptTdxSetPageSharedBit () is implemented in MemEncryptTdxlib.
Yes, we have considered to merge these 2 EncryptLib into
|
By
Min Xu
·
#84670
·
|
|
Re: [PATCH V3 28/29] OvmfPkg/QemuFwCfgLib: Support Tdx in QemuFwCfgDxe
Hi,
MemEncryptTdxIsEnabled() is checking the ConfidentialComputing PCD.
MemEncryptSevIsEnabled () has 3 implementations in SEC/PEI/DXE. In SEC/PEI phase the ConfidentialComputing PCD has not been
Hi,
MemEncryptTdxIsEnabled() is checking the ConfidentialComputing PCD.
MemEncryptSevIsEnabled () has 3 implementations in SEC/PEI/DXE. In SEC/PEI phase the ConfidentialComputing PCD has not been
|
By
Min Xu
·
#84669
·
|