qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 13/13] ide: pre VMState functions are not needed any


From: Juan Quintela
Subject: [Qemu-devel] [PATCH 13/13] ide: pre VMState functions are not needed anymore
Date: Wed, 14 Oct 2009 13:37:53 +0200

Signed-off-by: Juan Quintela <address@hidden>
---
 hw/ide/core.c     |   21 ---------------------
 hw/ide/internal.h |    5 -----
 2 files changed, 0 insertions(+), 26 deletions(-)

diff --git a/hw/ide/core.c b/hw/ide/core.c
index c08d5aa..fffcd00 100644
--- a/hw/ide/core.c
+++ b/hw/ide/core.c
@@ -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 */

diff --git a/hw/ide/internal.h b/hw/ide/internal.h
index 158146e..cfae4c2 100644
--- a/hw/ide/internal.h
+++ b/hw/ide/internal.h
@@ -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);
-- 
1.6.2.5





reply via email to

[Prev in Thread] Current Thread [Next in Thread]