diff options
| author | Maxiwell S. Garcia | 2019-08-29 23:07:11 +0200 |
|---|---|---|
| committer | Eduardo Habkost | 2019-09-03 19:39:46 +0200 |
| commit | 417332494602e3edadfae3b759a29fa0bb96223f (patch) | |
| tree | d9af786c08584f1bb97a7a1d76606e013ca4defe /qobject | |
| parent | x86: do not advertise die-id in query-hotpluggbale-cpus if '-smp dies' is not... (diff) | |
| download | qemu-417332494602e3edadfae3b759a29fa0bb96223f.tar.gz qemu-417332494602e3edadfae3b759a29fa0bb96223f.tar.xz qemu-417332494602e3edadfae3b759a29fa0bb96223f.zip | |
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>
Diffstat (limited to 'qobject')
0 files changed, 0 insertions, 0 deletions
