mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
ne2000: port to vmstate
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
3d8650597d
commit
7c131dd59d
3 changed files with 50 additions and 88 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue