summaryrefslogtreecommitdiffstats
path: root/hw/fdc.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/fdc.c
parent84e2e3eb5f20248ce85d11b8b751e2bd01d8fd95 (diff)
downloadhqemu-e59fb3741bee196e3177fdbd2d00c87865ecace3.zip
hqemu-e59fb3741bee196e3177fdbd2d00c87865ecace3.tar.gz
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/fdc.c')
-rw-r--r--hw/fdc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/fdc.c b/hw/fdc.c
index 389d9e6..c03ab47 100644
--- a/hw/fdc.c
+++ b/hw/fdc.c
@@ -650,7 +650,7 @@ static void fdc_pre_save(const void *opaque)
s->dor_vmstate = s->dor | GET_CUR_DRV(s);
}
-static int fdc_post_load(void *opaque)
+static int fdc_post_load(void *opaque, int version_id)
{
fdctrl_t *s = opaque;
OpenPOWER on IntegriCloud