Various NICs: Fix suspend/resume of multiple instances, by Jan Kiszka.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4892 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
ths 2008-07-18 18:02:34 +00:00
parent 2cfc5f17d3
commit 18fdb1c5c6
6 changed files with 11 additions and 16 deletions

View file

@ -1792,8 +1792,7 @@ static void nic_init(PCIBus * bus, NICInfo * nd,
qemu_register_reset(nic_reset, s);
/* XXX: instance number ? */
register_savevm(name, 0, 3, nic_save, nic_load, s);
register_savevm(name, -1, 3, nic_save, nic_load, s);
}
void pci_i82551_init(PCIBus * bus, NICInfo * nd, int devfn)