summaryrefslogtreecommitdiff
path: root/hw/ne2000.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-10-19 18:26:11 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-27 12:28:53 -0500
commit47b6139d2fe01b9e09578d425f7db3550cfb5283 (patch)
treedaf909dacd638a6109badbda2d49faf62cfbc192 /hw/ne2000.h
parentc52291cc17ff88d6596baee6b4f73aeab954ba6e (diff)
downloadqemu-47b6139d2fe01b9e09578d425f7db3550cfb5283.tar.gz
qemu-47b6139d2fe01b9e09578d425f7db3550cfb5283.tar.bz2
qemu-47b6139d2fe01b9e09578d425f7db3550cfb5283.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.h3
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_);