replay: save vmstate of the asynchronous events
commit0b30dc0164eeb4df059b5e5ce8c5796152b821e0
authorPavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
Tue, 27 Feb 2018 09:53:22 +0000 (27 12:53 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 12 Mar 2018 16:10:38 +0000 (12 17:10 +0100)
treebda14587740c035fdca8943afdb5246348ced2a0
parent89e46eb477113550485bc24264d249de9fd1260a
replay: save vmstate of the asynchronous events

This patch fixes saving and loading the snapshots in the replay mode.
It is required for the snapshots created in the moment when the header
of the asynchronous event is read. This information was not saved in
the snapshot. After loading the vmstate replay continued with the file offset
passed the event header. The event header is lost in this case and replay
hangs.

Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
Message-Id: <20180227095322.1060.53929.stgit@pasha-VirtualBox>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
replay/replay-events.c
replay/replay-internal.h
replay/replay-snapshot.c