Note: groups.io will be down for maintenance this evening, starting at 11pm Pacific Time (6am Tuesday 8/3/2020 UTC), for up to two hours.
Re: [PATCH v4 35/35] OvmfPkg/OvmfXen: use RealTimeClockRuntimeDxe from EmbeddedPkg
On Thu, Aug 08, 2019 at 03:03:48PM +0100, Anthony PERARD wrote:
On Wed, Aug 07, 2019 at 06:09:57PM +0200, Roger Pau Monné wrote:
On Mon, Jul 29, 2019 at 04:39:44PM +0100, Anthony PERARD wrote:It's not a clock that is required, it is a library that implements
A Xen PVH guest doesn't have a RTC that OVMF would expect, soNot that this is not correct, but what's the point in requiring a
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.
clock if it can be faked by always returning the same value?
RealTimeClockLib. Something needs it, so it is provided, even if it is
only to display the "current time".
It seems like it's usage is not really required, and could indeed beWay to much work to drop it. Also, I don't work to fork OVMF.
The ARM implementation of OVMF for Xen does the same thing and simply
always return the same value.
Alternatively, there's the PV clock which is available to PVH guestsWe might need to do that one day I guess, but right now it is just a
and will return a proper time.
nice to have.
Ack, thanks for the explanation.
Join email@example.com to automatically receive all group messages.