Re: [PATCH 5/5] KVM: paravirt time source

Anthony Liguori
2007-06-18T23:33:19Z

Jeremy Fitzhardinge wrote:
> Anthony Liguori wrote:
>
>> Okay. I may remove this patch from the patch series and attempt to
>> sit down next week and work out something more complete that also
>> implements stolen time accounting.
>>
>
> Well, that's a separate problem. clocksource.read should always return
> real time passed, so stolen time doesn't come into it.

Right.

>
> paravirt_ops.sched_clock should take stolen time into account, but
> that's almost completely orthogonal.
>

Except that I wanted to change the hypercall to allow querying of real
time or "available" time as VMI puts it.

> How are you doing clockevents?
>

Right now, I'm relying on the PIT but it would be nice to eliminate
that. I'd like to move to something PV so that I can make use of
tickless guest kernels. I'm very open to suggestion and even more open
to reusing other people's code :-)

Regards,

Anthony Liguori

> J