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/ne2000.c | |
parent | 2cfc5f17d366b801484b36b548708fe0f3552737 (diff) | |
download | qemu-18fdb1c5c614ebdf9c3ea9ef0a548bd81cc1f981.tar.gz qemu-18fdb1c5c614ebdf9c3ea9ef0a548bd81cc1f981.tar.bz2 qemu-18fdb1c5c614ebdf9c3ea9ef0a548bd81cc1f981.zip |
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/ne2000.c')
-rw-r--r-- | hw/ne2000.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/hw/ne2000.c b/hw/ne2000.c index 44f30c2afb..3f0ccf5850 100644 --- a/hw/ne2000.c +++ b/hw/ne2000.c @@ -753,7 +753,7 @@ void isa_ne2000_init(int base, qemu_irq irq, NICInfo *nd) s->macaddr[4], s->macaddr[5]); - register_savevm("ne2000", 0, 2, ne2000_save, ne2000_load, s); + register_savevm("ne2000", -1, 2, ne2000_save, ne2000_load, s); } /***********************************************************/ @@ -823,6 +823,5 @@ void pci_ne2000_init(PCIBus *bus, NICInfo *nd, int devfn) s->macaddr[4], s->macaddr[5]); - /* XXX: instance number ? */ - register_savevm("ne2000", 0, 3, ne2000_save, ne2000_load, s); + register_savevm("ne2000", -1, 3, ne2000_save, ne2000_load, s); } |