Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: proposal: stop using the xen_system_time timecounter in dom0



At Fri, 21 Jun 2024 21:38:26 +0200, Manuel Bouyer <bouyer%antioche.eu.org@localhost> wrote:
Subject: Re: proposal:  stop using the xen_system_time timecounter in dom0
>
> This code is not just about NetBSD's timecounter, in dom0 it's supposed
> to adjust the Xen clock so that it's accurate for others.

If I'm not mistaken this part can easily be changed to use the generic
system time as its source.

I.e. xen_rtc_set() could call nanotime(9) instead of xen_global_systime_ns().

--
					Greg A. Woods <gwoods%acm.org@localhost>

Kelowna, BC     +1 250 762-7675           RoboHack <woods%robohack.ca@localhost>
Planix, Inc. <woods%planix.com@localhost>     Avoncote Farms <woods%avoncote.ca@localhost>

Attachment: pgpVlW6W3G6EU.pgp
Description: OpenPGP Digital Signature



Home | Main Index | Thread Index | Old Index