qemu-e2k/hw/i386/kvm
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
..
apic.c Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
clock.c kvmclock: reduce kvmclock difference on migration 2016-12-22 16:00:56 +01:00
i8254.c
i8259.c pic: fix typo in error message: KVM_GET_IRQCHIP -> KVM_SET_IRQCHIP 2016-09-13 18:12:34 +03:00
ioapic.c
Makefile.objs
pci-assign.c pci-assign: sync MSI/MSI-X cap and table with PCIDevice 2016-11-28 15:11:17 +01:00