qemu-e2k/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 xen_platform: SUSE xenlinux unplug for emulated PCI 2016-10-21 12:11:38 -07:00
acpi-build.c Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
acpi-build.h Use scripts/clean-includes to drop redundant qemu/typedefs.h 2016-03-22 22:20:16 +01:00
amd_iommu.c hw/iommu: Fix problems reported by Coverity scan 2016-10-04 10:00:21 +02:00
amd_iommu.h hw/i386: Introduce AMD IOMMU 2016-09-24 01:02:00 +03:00
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 hw/i386: Introduce AMD IOMMU 2016-09-24 01:02:00 +03:00
multiboot.c multiboot: copy the cmdline verbatim, unescape module strings 2016-12-22 16:00:26 +01:00
multiboot.h refer to FWCfgState explicitly 2013-06-02 18:14:02 +03:00
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 include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
pc.c pc: make pit configurable 2016-12-22 16:00:25 +01:00
pci-assign-load-rom.c pci-assign: Move "Invalid ROM" error message to pci-assign-load-rom.c 2016-06-29 14:03:47 +02:00
trace-events trace: move hw/mem/pc-dimm.c trace points into correct file 2016-09-28 19:17:54 +01:00
x86-iommu.c hw/i386: AMD IOMMU IVRS table 2016-09-24 01:02:01 +03:00