qemu-e2k/hw/i386
Maxiwell S. Garcia 4173324946 migration: Do not re-read the clock on pre_save in case of paused guest
The clock move makes the guest knows about the paused time between the
'stop' and 'migrate' commands. This is an issue in an already-paused
VM because some side effects, like process stalls, could happen
after migration.

So, this patch checks the runstate of guest in the pre_save handler and
do not re-reads the clock in case of paused state (cold migration).

Signed-off-by: Maxiwell S. Garcia <maxiwell@linux.ibm.com>
Message-Id: <20190829210711.6570-1-maxiwell@linux.ibm.com>
Reviewed-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2019-09-03 14:39:46 -03:00
..
kvm migration: Do not re-read the clock on pre_save in case of paused guest 2019-09-03 14:39:46 -03:00
xen xen: cleanup IOREQ server on exit 2019-08-27 14:18:28 +01:00
acpi-build.c numa: move numa global variable have_numa_distance into MachineState 2019-09-03 11:26:55 -03:00
acpi-build.h
amd_iommu.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
amd_iommu.h Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
fw_cfg.c hw/i386: Implement fw_cfg_arch_key_name() 2019-05-23 14:10:31 +02:00
fw_cfg.h
intel_iommu_internal.h
intel_iommu.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
Kconfig hw/i386: also turn off VMMOUSE is VMPORT is disabled 2019-07-23 15:53:25 +01:00
kvmvapic.c sysemu: Split sysemu/runstate.h off sysemu/sysemu.h 2019-08-16 13:37:36 +02:00
Makefile.objs hw/i386: Implement fw_cfg_arch_key_name() 2019-05-23 14:10:31 +02:00
multiboot.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
multiboot.h
pc_piix.c Various trivial fixes 2019-08-21 16:59:22 +01:00
pc_q35.c hw: add compat machines for 4.2 2019-08-21 11:32:11 +10:00
pc_sysfw.c Include hw/boards.h a bit less 2019-08-16 13:31:53 +02:00
pc.c x86: do not advertise die-id in query-hotpluggbale-cpus if '-smp dies' is not set 2019-09-03 14:39:46 -03:00
trace-events
vmmouse.c i386/vmmouse: Properly reset state 2019-09-03 14:39:46 -03:00
vmport.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
x86-iommu.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00