aboutsummaryrefslogtreecommitdiff
path: root/hw/ne2000-isa.c
diff options
context:
space:
mode:
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;
}