From 7c131dd59d9c2f0d267841c296b02372c31fadcd Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Mon, 19 Oct 2009 18:26:11 +0200 Subject: ne2000: port to vmstate Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori --- hw/ne2000-isa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/ne2000-isa.c') diff --git a/hw/ne2000-isa.c b/hw/ne2000-isa.c index abb9b97..729e8e2 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; } -- cgit v1.1