aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/virtio-balloon.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/hw/virtio-balloon.c b/hw/virtio-balloon.c
index 086d9d1ecd..6d120247fe 100644
--- a/hw/virtio-balloon.c
+++ b/hw/virtio-balloon.c
@@ -261,10 +261,6 @@ static void virtio_balloon_save(QEMUFile *f, void *opaque)
qemu_put_be32(f, s->num_pages);
qemu_put_be32(f, s->actual);
- qemu_put_buffer(f, (uint8_t *)&s->stats_vq_elem, sizeof(VirtQueueElement));
- qemu_put_buffer(f, (uint8_t *)&s->stats_vq_offset, sizeof(size_t));
- qemu_put_buffer(f, (uint8_t *)&s->stats_callback, sizeof(MonitorCompletion));
- qemu_put_buffer(f, (uint8_t *)&s->stats_opaque_callback_data, sizeof(void));
}
static int virtio_balloon_load(QEMUFile *f, void *opaque, int version_id)
@@ -278,11 +274,6 @@ static int virtio_balloon_load(QEMUFile *f, void *opaque, int version_id)
s->num_pages = qemu_get_be32(f);
s->actual = qemu_get_be32(f);
- qemu_get_buffer(f, (uint8_t *)&s->stats_vq_elem, sizeof(VirtQueueElement));
- qemu_get_buffer(f, (uint8_t *)&s->stats_vq_offset, sizeof(size_t));
- qemu_get_buffer(f, (uint8_t *)&s->stats_callback, sizeof(MonitorCompletion));
- qemu_get_buffer(f, (uint8_t *)&s->stats_opaque_callback_data, sizeof(void));
-
return 0;
}