]> git.proxmox.com Git - qemu.git/commitdiff
ide: pre VMState functions are not needed anymore
authorJuan Quintela <quintela@redhat.com>
Wed, 7 Oct 2009 18:58:03 +0000 (20:58 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 27 Oct 2009 17:28:46 +0000 (12:28 -0500)
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/ide/core.c
hw/ide/internal.h

index c08d5aa639f9ac3f6f8ca070cba102789bf47b11..fffcd0028081c5e6a22e2ddd8a6eef6e7e9b7ab0 100644 (file)
@@ -2643,17 +2643,6 @@ const VMStateDescription vmstate_ide_drive = {
     }
 };
 
-void ide_save(QEMUFile* f, IDEState *s)
-{
-    vmstate_save_state(f, &vmstate_ide_drive, s);
-}
-
-void ide_load(QEMUFile* f, IDEState *s, int version_id)
-{
-    vmstate_load_state(f, &vmstate_ide_drive, s, vmstate_ide_drive.version_id);
-}
-
-
 const VMStateDescription vmstate_ide_bus = {
     .name = "ide_bus",
     .version_id = 1,
@@ -2666,16 +2655,6 @@ const VMStateDescription vmstate_ide_bus = {
     }
 };
 
-void idebus_save(QEMUFile* f, IDEBus *bus)
-{
-    vmstate_save_state(f, &vmstate_ide_bus, bus);
-}
-
-void idebus_load(QEMUFile* f, IDEBus *bus, int version_id)
-{
-    vmstate_load_state(f, &vmstate_ide_bus, bus, vmstate_ide_bus.version_id);
-}
-
 /***********************************************************/
 /* PCI IDE definitions */
 
index 158146e39d15e94252d33be0a99410165593a97d..cfae4c29bed4e28a61d965f8d08a0a54b13e91e8 100644 (file)
@@ -525,11 +525,6 @@ extern const VMStateDescription vmstate_ide_drive;
 #define VMSTATE_IDE_DRIVES(_field, _state) \
     VMSTATE_STRUCT_ARRAY(_field, _state, 2, 3, vmstate_ide_drive, IDEState)
 
-void ide_save(QEMUFile* f, IDEState *s);
-void ide_load(QEMUFile* f, IDEState *s, int version_id);
-void idebus_save(QEMUFile* f, IDEBus *bus);
-void idebus_load(QEMUFile* f, IDEBus *bus, int version_id);
-
 void ide_reset(IDEState *s);
 int64_t ide_get_sector(IDEState *s);
 void ide_set_sector(IDEState *s, int64_t sector_num);