qemu/hw/i386
Marcelo Tosatti 6053a86fe7 kvmclock: reduce kvmclock difference on migration
Check for KVM_CAP_ADJUST_CLOCK capability KVM_CLOCK_TSC_STABLE, which
indicates that KVM_GET_CLOCK returns a value as seen by the guest at
that moment.

For new machine types, use this value rather than reading
from guest memory.

This reduces kvmclock difference on migration from 5s to 0.1s
(when max_downtime == 5s).

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Message-Id: <20161121105052.598267440@redhat.com>
[Add comment explaining what is going on. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-12-22 16:00:56 +01:00
..
kvm kvmclock: reduce kvmclock difference on migration 2016-12-22 16:00:56 +01:00
xen
acpi-build.c Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
acpi-build.h
amd_iommu.c
amd_iommu.h
intel_iommu_internal.h intel_iommu: fixing source id during IOTLB hash key calculation 2016-11-15 17:20:36 +02:00
intel_iommu.c intel_iommu: fix incorrect device invalidate 2016-11-30 04:20:57 +02:00
kvmvapic.c *_run_on_cpu: introduce run_on_cpu_data type 2016-10-31 15:00:25 +01:00
Makefile.objs
multiboot.c multiboot: copy the cmdline verbatim, unescape module strings 2016-12-22 16:00:26 +01:00
multiboot.h
pc_piix.c pc: make pit configurable 2016-12-22 16:00:25 +01:00
pc_q35.c pc: make pit configurable 2016-12-22 16:00:25 +01:00
pc_sysfw.c
pc.c pc: make pit configurable 2016-12-22 16:00:25 +01:00
pci-assign-load-rom.c
trace-events
x86-iommu.c