kernel_optimize_test/arch/x86
Glauber Costa afbcf7ab8d KVM: allow userspace to adjust kvmclock offset
When we migrate a kvm guest that uses pvclock between two hosts, we may
suffer a large skew. This is because there can be significant differences
between the monotonic clock of the hosts involved. When a new host with
a much larger monotonic time starts running the guest, the view of time
will be significantly impacted.

Situation is much worse when we do the opposite, and migrate to a host with
a smaller monotonic clock.

This proposed ioctl will allow userspace to inform us what is the monotonic
clock value in the source host, so we can keep the time skew short, and
more importantly, never goes backwards. Userspace may also need to trigger
the current data, since from the first migration onwards, it won't be
reflected by a simple call to clock_gettime() anymore.

[marcelo: future-proof abi with a flags field]
[jan: fix KVM_GET_CLOCK by clearing flags field instead of checking it]

Signed-off-by: Glauber Costa <glommer@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
2009-12-03 09:32:19 +02:00
..
boot
configs
crypto
ia32
include/asm KVM: allow userspace to adjust kvmclock offset 2009-12-03 09:32:19 +02:00
kernel Merge remote branch 'tip/x86/entry' into kvm-updates/2.6.33 2009-12-03 09:30:06 +02:00
kvm KVM: allow userspace to adjust kvmclock offset 2009-12-03 09:32:19 +02:00
lguest
lib
math-emu
mm x86: Fix error return sequence in __ioremap_caller() 2009-11-08 12:48:58 +01:00
oprofile
pci
power
vdso
video
xen
Kbuild
Kconfig Merge remote branch 'tip/x86/entry' into kvm-updates/2.6.33 2009-12-03 09:30:06 +02:00
Kconfig.cpu
Kconfig.debug
Makefile
Makefile_32.cpu