diff options
author | Juan Quintela <quintela@redhat.com> | 2009-10-19 18:26:11 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-27 12:28:53 -0500 |
commit | 7c131dd59d9c2f0d267841c296b02372c31fadcd (patch) | |
tree | daf909dacd638a6109badbda2d49faf62cfbc192 /hw/ne2000.h | |
parent | 3d8650597d93b11314bab4ad64b297da85edf179 (diff) | |
download | qemu-7c131dd59d9c2f0d267841c296b02372c31fadcd.tar.gz qemu-7c131dd59d9c2f0d267841c296b02372c31fadcd.tar.bz2 qemu-7c131dd59d9c2f0d267841c296b02372c31fadcd.zip |
ne2000: port to vmstate
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/ne2000.h')
-rw-r--r-- | hw/ne2000.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/ne2000.h b/hw/ne2000.h index 78422465c4..2bbce71e6f 100644 --- a/hw/ne2000.h +++ b/hw/ne2000.h @@ -33,8 +33,7 @@ void ne2000_asic_ioport_write(void *opaque, uint32_t addr, uint32_t val); uint32_t ne2000_asic_ioport_read(void *opaque, uint32_t addr); void ne2000_reset_ioport_write(void *opaque, uint32_t addr, uint32_t val); uint32_t ne2000_reset_ioport_read(void *opaque, uint32_t addr); -void ne2000_save(QEMUFile* f, void* opaque); -int ne2000_load(QEMUFile* f, void* opaque, int version_id); +extern const VMStateDescription vmstate_ne2000; void ne2000_reset(NE2000State *s); int ne2000_can_receive(VLANClientState *vc); ssize_t ne2000_receive(VLANClientState *vc, const uint8_t *buf, size_t size_); |