diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-07-18 18:02:34 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-07-18 18:02:34 +0000 |
commit | 18fdb1c5c614ebdf9c3ea9ef0a548bd81cc1f981 (patch) | |
tree | e90fedcd280d57196fc2def055906546b46d28cc /hw/eepro100.c | |
parent | 2cfc5f17d366b801484b36b548708fe0f3552737 (diff) | |
download | hqemu-18fdb1c5c614ebdf9c3ea9ef0a548bd81cc1f981.zip hqemu-18fdb1c5c614ebdf9c3ea9ef0a548bd81cc1f981.tar.gz |
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
Diffstat (limited to 'hw/eepro100.c')
-rw-r--r-- | hw/eepro100.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/eepro100.c b/hw/eepro100.c index 84d1e52..8db2098 100644 --- a/hw/eepro100.c +++ b/hw/eepro100.c @@ -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) |