On Mon, Jul 03, 2023 at 11:26:47 CEST, Christian Helmuth wrote:
Then, I noted that you wrote "RTC stub" and realized you may refer to connecting wireguard/virt_linux to the Genode RTC service. In this case, I'd like to ask if it may be less invasive to implement the Linux API used by the wireguard code instead of enabling the RTC subsystem. This subsystem is much more complex than just mapping some function to Rtc::Session::current_time().
In other words, call do_settimeofday64() on wireguard startup should spare you the entire RTC subsystem as Martin already hinted in his email.