diff options
author | Ot ten Thije <ottenthije@google.com> | 2010-09-15 13:52:29 +0100 |
---|---|---|
committer | Ot ten Thije <ottenthije@google.com> | 2010-09-15 13:52:29 +0100 |
commit | 1091d5d16923c044d35fcacfe845ab6b76e83143 (patch) | |
tree | 3ddc894229a542e94cd2aa3ae50da023331684b9 | |
parent | c34e8dccc303243ff996aadcf3d7e407bb74e536 (diff) | |
download | external_qemu-1091d5d16923c044d35fcacfe845ab6b76e83143.zip external_qemu-1091d5d16923c044d35fcacfe845ab6b76e83143.tar.gz external_qemu-1091d5d16923c044d35fcacfe845ab6b76e83143.tar.bz2 |
Fix segfault when saving VM state.
Change-Id: I7bf458b81df98ee5a29bfb5b86511579ade16c10
-rw-r--r-- | qemu-timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-timer.c b/qemu-timer.c index 6ad2858..402f567 100644 --- a/qemu-timer.c +++ b/qemu-timer.c @@ -694,7 +694,7 @@ static const VMStateDescription vmstate_timers = { void configure_icount(const char *option) { - register_savevm("timer", 0, 2, timer_save, timer_load, NULL); + register_savevm("timer", 0, 2, timer_save, timer_load, &timers_state); if (!option) return; |