Re: [PATCH v6 10/10] arm64: Retrieve stolen time as paravirtualized guest

From: Marc Zyngier
Date: Mon Oct 21 2019 - 03:56:03 EST


On 2019-10-21 06:01, JÃrgen Groà wrote:
On 19.10.19 22:28, Marc Zyngier wrote:

How about something like pv_time_init() instead? In the guest, this is
no way KVM specific, and I still hope for this to work on things like
Xen/HyperV/VMware (yeah, I'm foolishly optimistic). All the references
to KVM should go, and be replaced by something more generic (after
all, you're only implementing the spec, so feel free to call it
den0057_* if you really want).

Xen guests already have the needed functionality. On ARM this just needs
to be hooked up.

Yes, Xen offers its own PV interface for that. But this code is about
implementing support for a cross hypervisor functionnality (which AFAICT
is not implemented by Xen).

M.
--
Jazz is not dead. It just smells funny...