[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 16/25] hw/net/ne2000-isa: Register vmstate struct
From: |
Michael Tokarev |
Subject: |
[Qemu-devel] [PULL 16/25] hw/net/ne2000-isa: Register vmstate struct |
Date: |
Tue, 10 Jun 2014 20:08:34 +0400 |
From: Peter Maydell <address@hidden>
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 <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
---
hw/net/ne2000-isa.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/net/ne2000-isa.c b/hw/net/ne2000-isa.c
index c660e58..0a14f6d 100644
--- 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);
}
--
1.7.10.4
- [Qemu-devel] [PULL 21/25] libcacard: Drop superfluous conditionals around g_free(), (continued)
- [Qemu-devel] [PULL 21/25] libcacard: Drop superfluous conditionals around g_free(), Michael Tokarev, 2014/06/10
- [Qemu-devel] [PULL 17/25] apb: Fix compiler warnings (large constants), Michael Tokarev, 2014/06/10
- [Qemu-devel] [PULL 14/25] hw/misc/milkymist-softusb: Remove unused softusb_{read, write}_pmem(), Michael Tokarev, 2014/06/10
- [Qemu-devel] [PULL 24/25] hw: vmware_vga: don't return cursorx when the driver asks for cursory register, Michael Tokarev, 2014/06/10
- [Qemu-devel] [PULL 01/25] net: cadence_gem: Fix Tx descriptor update, Michael Tokarev, 2014/06/10
- [Qemu-devel] [PULL 12/25] hw/isa/pc87312: Remove unused function is_parallel_epp(), Michael Tokarev, 2014/06/10
- [Qemu-devel] [PULL 03/25] net: cadence_gem: Comment spelling sweep, Michael Tokarev, 2014/06/10
- [Qemu-devel] [PULL 18/25] vdi: remove double conversion, Michael Tokarev, 2014/06/10
- [Qemu-devel] [PULL 11/25] hw/intc/openpic: Remove unused function IRQ_testbit(), Michael Tokarev, 2014/06/10
- [Qemu-devel] [PULL 13/25] target-i386/translate.c: Remove unused tcg_gen_lshift(), Michael Tokarev, 2014/06/10
- [Qemu-devel] [PULL 16/25] hw/net/ne2000-isa: Register vmstate struct,
Michael Tokarev <=
- [Qemu-devel] [PULL 07/25] hw/i386/pc.c: Remove unused parallel_io and parallel_irq variables, Michael Tokarev, 2014/06/10
- [Qemu-devel] [PULL 25/25] virtio.c: fix error message, Michael Tokarev, 2014/06/10
- Re: [Qemu-devel] [PULL 00/25] Trivial patches for 2014-06-10, Peter Maydell, 2014/06/10
- [Qemu-devel] [PULL 09/25] util/qemu-sockets.c: Avoid unused variable warnings, Michael Tokarev, 2014/06/10
- [Qemu-devel] [PULL 08/25] hw/sd/sd.c: Drop unused sd_acmd_type[] array, Michael Tokarev, 2014/06/10
- [Qemu-devel] [PULL 20/25] cpu/x86: correctly set errors in x86_cpu_parse_featurestr, Michael Tokarev, 2014/06/10
- [Qemu-devel] [PULL 15/25] target-microblaze: Delete unused sign_extend() function, Michael Tokarev, 2014/06/10