Gerd Hoffmann
55f47d2299
OvmfPkg/Microvm: wire up serial console, drop super-io
...
Microvm has no LPC bridge, so drop the PciSioSerialDxe driver.
Use SerialDxe instead, with ioport hardcoded to 0x3f8 aka com1 aka ttyS0.
With this tianocore boots to uefi shell prompt on the serial console.
Direct kernel boot can be used too.
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3599
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com >
Acked-by: Jiewen Yao <Jiewen.yao@intel.com >
2021-10-05 10:55:39 +00:00
Gerd Hoffmann
76602f45dc
OvmfPkg/Microvm: use XenTimerDxe (lapic timer)
...
Microvm has no acpi timer, so go use XenTimerDxe
which uses the local apic instead.
Set PcdFSBClock to 1000 MHz, which is the lapic
timer frequency used by KVM.
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3599
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com >
Acked-by: Jiewen Yao <Jiewen.yao@intel.com >
2021-10-05 10:55:39 +00:00
Gerd Hoffmann
b9dd64b80e
OvmfPkg/Microvm: no emulated scsi
...
Microvm focus is virtio, so go drop support
for emulated scsi host adapters.
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3599
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com >
Acked-by: Jiewen Yao <Jiewen.yao@intel.com >
2021-10-05 10:55:39 +00:00
Gerd Hoffmann
6073bf6cd8
OvmfPkg/Microvm: no csm
...
Guests depending on BIOS will probably not work that well with microvm
due to legacy hardware being not available.
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3599
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com >
Acked-by: Jiewen Yao <Jiewen.yao@intel.com >
2021-10-05 10:55:39 +00:00
Gerd Hoffmann
06fa1f1931
OvmfPkg/Microvm: no sev
...
Microvm has no SEV support.
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3599
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com >
Acked-by: Jiewen Yao <Jiewen.yao@intel.com >
2021-10-05 10:55:39 +00:00
Gerd Hoffmann
0569c52b15
OvmfPkg/Microvm: no tpm
...
Microvm has no TPM support.
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3599
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com >
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com >
Acked-by: Jiewen Yao <Jiewen.yao@intel.com >
2021-10-05 10:55:39 +00:00
Gerd Hoffmann
60d55c4156
OvmfPkg/Microvm: no secure boot
...
Without SMM secure boot isn't actually secure, so drop it too.
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3599
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com >
Acked-by: Jiewen Yao <Jiewen.yao@intel.com >
2021-10-05 10:55:39 +00:00
Gerd Hoffmann
2a49c19b9e
OvmfPkg/Microvm: no smm
...
Microvm has no SMM support.
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3599
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com >
Acked-by: Jiewen Yao <Jiewen.yao@intel.com >
2021-10-05 10:55:39 +00:00
Gerd Hoffmann
4932f05a00
OvmfPkg/Microvm: rename output files, fix includes
...
Rename the firmware volume files (s/OVMF/MICROVM/).
Fix includes so they work with microvm config being in a subdirectory.
With this patch applied the build works.
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3599
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com >
Acked-by: Jiewen Yao <Jiewen.yao@intel.com >
2021-10-05 10:55:39 +00:00
Gerd Hoffmann
606340fba3
OvmfPkg/Microvm: copy OvmfPkgX64 files as-is
...
Create Microvm subdirectory. Copy OvmfPkgX64 .dsc and .fdf files
unmodified as starting point for MicrovmX64.
Changes come as separate patches, to simplify patch review and rebases.
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3599
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com >
Acked-by: Jiewen Yao <Jiewen.yao@intel.com >
2021-10-05 10:55:39 +00:00