aboutsummaryrefslogtreecommitdiffstats
path: root/qemu-timer.c
diff options
context:
space:
mode:
authorOt ten Thije <ottenthije@google.com>2010-09-15 13:52:29 +0100
committerOt ten Thije <ottenthije@google.com>2010-09-15 13:52:29 +0100
commit1091d5d16923c044d35fcacfe845ab6b76e83143 (patch)
tree3ddc894229a542e94cd2aa3ae50da023331684b9 /qemu-timer.c
parentc34e8dccc303243ff996aadcf3d7e407bb74e536 (diff)
downloadexternal_qemu-1091d5d16923c044d35fcacfe845ab6b76e83143.zip
external_qemu-1091d5d16923c044d35fcacfe845ab6b76e83143.tar.gz
external_qemu-1091d5d16923c044d35fcacfe845ab6b76e83143.tar.bz2
Fix segfault when saving VM state.
Change-Id: I7bf458b81df98ee5a29bfb5b86511579ade16c10
Diffstat (limited to 'qemu-timer.c')
-rw-r--r--qemu-timer.c2
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;