summaryrefslogtreecommitdiff
path: root/hw/hpet.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
commit527b784eba1eda074fb3e5169ec06f2c4ba8867f (patch)
treeed2f7508721e328336bbea24f2a895f270a28476 /hw/hpet.c
parent255d59a4978206c3d0e16c8bc4964c938c66b1e7 (diff)
downloadqemu-527b784eba1eda074fb3e5169ec06f2c4ba8867f.tar.gz
qemu-527b784eba1eda074fb3e5169ec06f2c4ba8867f.tar.bz2
qemu-527b784eba1eda074fb3e5169ec06f2c4ba8867f.zip
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/hpet.c')
-rw-r--r--hw/hpet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/hpet.c b/hw/hpet.c
index c1ead34446..6535b8ebf2 100644
--- a/hw/hpet.c
+++ b/hw/hpet.c
@@ -164,7 +164,7 @@ static void hpet_pre_save(const void *opaque)
s->hpet_counter = hpet_get_ticks();
}
-static int hpet_post_load(void *opaque)
+static int hpet_post_load(void *opaque, int version_id)
{
HPETState *s = opaque;