replay: vmstate for replay module

This patch introduces vmstate for replay data structures.
It allows saving and loading vmstate while replaying.

Signed-off-by: Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru>
Message-Id: <20160926080810.6992.68420.stgit@PASHA-ISP>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Pavel Dovgalyuk 2016-09-26 11:08:10 +03:00 committed by Paolo Bonzini
parent f186d64d8f
commit 306e196fa2
4 changed files with 71 additions and 0 deletions

View file

@ -292,6 +292,7 @@ void replay_configure(QemuOpts *opts)
exit(1);
}
replay_vmstate_register();
replay_enable(fname, mode);
out: