qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 08/16] vga: remove unused vga_common_save/load


From: Juan Quintela
Subject: [Qemu-devel] [PATCH 08/16] vga: remove unused vga_common_save/load
Date: Wed, 14 Oct 2009 19:34:59 +0200

Signed-off-by: Juan Quintela <address@hidden>
---
 hw/vga.c     |   10 ----------
 hw/vga_int.h |    2 --
 2 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/hw/vga.c b/hw/vga.c
index 706cb98..f2ec772 100644
--- a/hw/vga.c
+++ b/hw/vga.c
@@ -2182,16 +2182,6 @@ const VMStateDescription vmstate_vga_common = {
     }
 };

-void vga_common_save(QEMUFile *f, void *opaque)
-{
-    vmstate_save_state(f, &vmstate_vga_common, opaque);
-}
-
-int vga_common_load(QEMUFile *f, void *opaque, int version_id)
-{
-    return vmstate_load_state(f, &vmstate_vga_common, opaque, 
vmstate_vga_common.version_id);
-}
-
 void vga_common_init(VGACommonState *s, int vga_ram_size)
 {
     int i, j, v, b;
diff --git a/hw/vga_int.h b/hw/vga_int.h
index 46c326d..e2b9989 100644
--- a/hw/vga_int.h
+++ b/hw/vga_int.h
@@ -197,8 +197,6 @@ void vga_common_reset(VGACommonState *s);
 void vga_dirty_log_start(VGACommonState *s);

 extern const VMStateDescription vmstate_vga_common;
-void vga_common_save(QEMUFile *f, void *opaque);
-int vga_common_load(QEMUFile *f, void *opaque, int version_id);
 uint32_t vga_ioport_read(void *opaque, uint32_t addr);
 void vga_ioport_write(void *opaque, uint32_t addr, uint32_t val);
 uint32_t vga_mem_readb(void *opaque, target_phys_addr_t addr);
-- 
1.6.2.5





reply via email to

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