[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [COMMIT dca6162] qemu: remove control vector save
From: |
Anthony Liguori |
Subject: |
[Qemu-commits] [COMMIT dca6162] qemu: remove control vector save |
Date: |
Fri, 10 Jul 2009 19:16:42 -0000 |
From: Michael S. Tsirkin <address@hidden>
control vector is saved/restored by virtio-pci,
it does not belong in virtio.
Signed-off-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
diff --git a/hw/virtio.c b/hw/virtio.c
index 843be86..41e7ca2 100644
--- a/hw/virtio.c
+++ b/hw/virtio.c
@@ -626,9 +626,6 @@ void virtio_save(VirtIODevice *vdev, QEMUFile *f)
qemu_put_be32(f, vdev->config_len);
qemu_put_buffer(f, vdev->config, vdev->config_len);
- if (vdev->nvectors)
- qemu_put_be16s(f, &vdev->config_vector);
-
for (i = 0; i < VIRTIO_PCI_QUEUE_MAX; i++) {
if (vdev->vq[i].vring.num == 0)
break;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [COMMIT dca6162] qemu: remove control vector save,
Anthony Liguori <=