diff options
author | Juan Quintela <quintela@redhat.com> | 2017-04-18 11:35:04 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2017-05-04 10:32:58 +0200 |
commit | c34c2f3701e38a06bc9849bee9eac9131a4fdaad (patch) | |
tree | 4ec8b2dd052b008a99bab094e5423c052670c599 /replay | |
parent | fd4144d41302d288acdb6d309f658df7a8254612 (diff) | |
download | qemu-c34c2f3701e38a06bc9849bee9eac9131a4fdaad.zip qemu-c34c2f3701e38a06bc9849bee9eac9131a4fdaad.tar.gz qemu-c34c2f3701e38a06bc9849bee9eac9131a4fdaad.tar.bz2 |
monitor: Remove monitor parameter from save_vmstate
load_vmstate() already use error_report, so be consistent. There is
an identical error message in load_vmstate() that ends in a
period. Remove it.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'replay')
-rw-r--r-- | replay/replay-snapshot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/replay/replay-snapshot.c b/replay/replay-snapshot.c index 65e2d37..8cced46 100644 --- a/replay/replay-snapshot.c +++ b/replay/replay-snapshot.c @@ -64,7 +64,7 @@ void replay_vmstate_init(void) { if (replay_snapshot) { if (replay_mode == REPLAY_MODE_RECORD) { - if (save_vmstate(cur_mon, replay_snapshot) != 0) { + if (save_vmstate(replay_snapshot) != 0) { error_report("Could not create snapshot for icount record"); exit(1); } |