Skip to content

Kvm clocksource, new spin

Glauber de Oliveira Costa kvm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3include files for kvmclockinclude/asm-x86/kvm_para.h include/linux/kvm.h include/linux/kvm_para.h+28 -02 replies
2/3kvmclock - the host part.drivers/kvm/kvm_main.c drivers/kvm/x86.c drivers/kvm/x86.h+37 -010 replies
3/3kvmclock implementation, the guest part.arch/x86/Kconfig.i386 arch/x86/kernel/Makefile_32 arch/x86/kernel/kvmclock.c +1 more+187 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Kvm clocksource, new spin

Hi folks,

Here's a new spin of the clocksource implementation.
In this new version:
* followed avi's suggestion of:
- letting the cpu itself register its memory area.
- using a gfn instead of a phys addr as a parameter, to be sure we can cover the whole memory area
- write guest time at exits.

Also, I 'm not using an anonymous struct in the kvm_hv_clock union, so the vcpu struct can grab just what it needs, and not the whole padding the guest needs

This is it.

Have fun