]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/OvmfXen: use RealTimeClockRuntimeDxe from EmbeddedPkg
authorAnthony PERARD <anthony.perard@citrix.com>
Tue, 13 Aug 2019 11:31:19 +0000 (12:31 +0100)
committerLaszlo Ersek <lersek@redhat.com>
Wed, 21 Aug 2019 16:03:50 +0000 (18:03 +0200)
commit1237517b21305ad96834f9a0514a8365dd8a1c41
treee6da8b8279eb60a757723d2acc2f2ccf16b3d45b
parent4870639f55ed42044a51c6664e66c4dc90dfaa6f
OvmfPkg/OvmfXen: use RealTimeClockRuntimeDxe from EmbeddedPkg

A Xen PVH guest doesn't have a RTC that OVMF would expect, so
PcatRealTimeClockRuntimeDxe fails to initialize and prevent the
firmware from finish to boot. To prevent that, we will use
XenRealTimeClockLib which simply always return the same time.
This will work on both Xen PVH and HVM guests.

Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1689
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20190813113119.14804-36-anthony.perard@citrix.com>
OvmfPkg/OvmfXen.dsc
OvmfPkg/OvmfXen.fdf