aboutsummaryrefslogtreecommitdiff
path: root/hw/ne2000-isa.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-10-19 18:26:11 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-27 12:28:53 -0500
commit7c131dd59d9c2f0d267841c296b02372c31fadcd (patch)
treedaf909dacd638a6109badbda2d49faf62cfbc192 /hw/ne2000-isa.c
parent3d8650597d93b11314bab4ad64b297da85edf179 (diff)
ne2000: port to vmstate
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/ne2000-isa.c')
-rw-r--r--hw/ne2000-isa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ne2000-isa.c b/hw/ne2000-isa.c
index abb9b97d55..729e8e2253 100644
--- a/hw/ne2000-isa.c
+++ b/hw/ne2000-isa.c
@@ -69,7 +69,7 @@ static int isa_ne2000_initfn(ISADevice *dev)
NULL, isa_ne2000_cleanup, s);
qemu_format_nic_info_str(s->vc, s->c.macaddr.a);
- register_savevm("ne2000", -1, 2, ne2000_save, ne2000_load, s);
+ vmstate_register(-1, &vmstate_ne2000, s);
return 0;
}