projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc4bde9
)
hw/net/ne2000-isa: Register vmstate struct
author
Peter Maydell
<peter.maydell@linaro.org>
Sat, 7 Jun 2014 16:53:11 +0000
(17:53 +0100)
committer
Michael Tokarev
<mjt@tls.msk.ru>
Tue, 10 Jun 2014 15:39:34 +0000
(19:39 +0400)
The ne2000-isa device defines a VMState struct for migration, but
we forgot to actually register it. Correct this deficiency by
setting dc->vmsd.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/net/ne2000-isa.c
patch
|
blob
|
history
diff --git
a/hw/net/ne2000-isa.c
b/hw/net/ne2000-isa.c
index c660e5833560eaa7585805d1ac9080097ff18ebc..0a14f6d1cd335b96648c297701b6add39291fb85 100644
(file)
--- a/
hw/net/ne2000-isa.c
+++ b/
hw/net/ne2000-isa.c
@@
-98,6
+98,7
@@
static void isa_ne2000_class_initfn(ObjectClass *klass, void *data)
dc->realize = isa_ne2000_realizefn;
dc->props = ne2000_isa_properties;
+ dc->vmsd = &vmstate_isa_ne2000;
set_bit(DEVICE_CATEGORY_NETWORK, dc->categories);
}