summaryrefslogtreecommitdiff
path: root/hw/pcnet.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-18 18:02:34 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-18 18:02:34 +0000
commit18fdb1c5c614ebdf9c3ea9ef0a548bd81cc1f981 (patch)
treee90fedcd280d57196fc2def055906546b46d28cc /hw/pcnet.c
parent2cfc5f17d366b801484b36b548708fe0f3552737 (diff)
downloadqemu-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/pcnet.c')
-rw-r--r--hw/pcnet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pcnet.c b/hw/pcnet.c
index 0d0bb872c7..fe7864fc18 100644
--- a/hw/pcnet.c
+++ b/hw/pcnet.c
@@ -1916,7 +1916,7 @@ static void pcnet_common_init(PCNetState *d, NICInfo *nd, const char *info_str)
d->vc = NULL;
}
pcnet_h_reset(d);
- register_savevm("pcnet", 0, 2, pcnet_save, pcnet_load, d);
+ register_savevm("pcnet", -1, 2, pcnet_save, pcnet_load, d);
}
/* PCI interface */