[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 41/41] virtio: virtio_save/load are not used anymore
From: |
Juan Quintela |
Subject: |
[Qemu-devel] [PATCH 41/41] virtio: virtio_save/load are not used anymore |
Date: |
Wed, 2 Dec 2009 13:04:39 +0100 |
Signed-off-by: Juan Quintela <address@hidden>
---
hw/virtio.c | 10 ----------
hw/virtio.h | 4 ----
2 files changed, 0 insertions(+), 14 deletions(-)
diff --git a/hw/virtio.c b/hw/virtio.c
index 73dae7c..2c4ac0b 100644
--- a/hw/virtio.c
+++ b/hw/virtio.c
@@ -730,16 +730,6 @@ const VMStateDescription vmstate_virtio = {
}
};
-void virtio_save(VirtIODevice *vdev, QEMUFile *f)
-{
- vmstate_save_state(f, &vmstate_virtio, vdev);
-}
-
-int virtio_load(VirtIODevice *vdev, QEMUFile *f)
-{
- return vmstate_load_state(f, &vmstate_virtio, vdev,
vmstate_virtio.version_id);
-}
-
void virtio_cleanup(VirtIODevice *vdev)
{
if (vdev->config)
diff --git a/hw/virtio.h b/hw/virtio.h
index ac7b8eb..fe3ba7a 100644
--- a/hw/virtio.h
+++ b/hw/virtio.h
@@ -135,10 +135,6 @@ extern const VMStateDescription vmstate_virtio;
#define VMSTATE_VIRTIO(_field, _state)
\
VMSTATE_STRUCT_TEST(_field, _state, NULL, 0, vmstate_virtio, VirtIODevice)
-void virtio_save(VirtIODevice *vdev, QEMUFile *f);
-
-int virtio_load(VirtIODevice *vdev, QEMUFile *f);
-
void virtio_cleanup(VirtIODevice *vdev);
void virtio_notify_config(VirtIODevice *vdev);
--
1.6.5.2