On 25/1/26 19:20, Tim wrote:
On Sun, 2026-01-25 at 10:24 +1100, [email protected] wrote:
I now get the time of last shutdown, which can be days in the past, until ntp
sorts it out.
Is there a way to ensure the guest clock is initialized from the host before
the guest boot starts?
I dunno, however NTP *or* ntpdate are/were the common tools on various
systems in recent years. You could look into the options for instantly
setting to the current time (which was ntpdate's forté), then it later
doing the critical timekeeping adjustments (NTPd's usual thing). NTP
has some options regarding a faster initial sync (iburst, if I remember
correctly).
I already use ntp and it is good, however at boot time the machine uses what it
has saved in the cmos clock
(which may be a few days ago) until the first ntpdate is done (from rc.local).
I wonder if kvm (qemu) can be configured to set its virtual cmos clock from the
host clock before it starts booting.
On a "real" computer the cmos clock keeps time even when the machine is powered
down.
--
Eyal at Home ([email protected])
--
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue