aboutsummaryrefslogtreecommitdiffstats
path: root/hw/serial.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-09-29 22:48:21 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-05 09:32:36 -0500
commite59fb3741bee196e3177fdbd2d00c87865ecace3 (patch)
treeed2f7508721e328336bbea24f2a895f270a28476 /hw/serial.c
parent84e2e3eb5f20248ce85d11b8b751e2bd01d8fd95 (diff)
vmstate: add version_id argument to post_load
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/serial.c')
-rw-r--r--hw/serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/serial.c b/hw/serial.c
index 6e8c6e165..6e37ead06 100644
--- a/hw/serial.c
+++ b/hw/serial.c
@@ -648,7 +648,7 @@ static int serial_pre_load(void *opaque)
return 0;
}
-static int serial_post_load(void *opaque)
+static int serial_post_load(void *opaque, int version_id)
{
SerialState *s = opaque;