diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2009-07-01 16:28:06 +0300 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-07-09 16:58:08 -0500 |
commit | fb9da041b0808d8797e399fe20f75b10fb06564c (patch) | |
tree | 55652ef9c67495a4172205bcdd98c4f650221fb2 /hw/virtio.c | |
parent | 04087bb55f7fa873af189c73ba08b1032f3e4203 (diff) | |
download | qemu-fb9da041b0808d8797e399fe20f75b10fb06564c.tar.gz qemu-fb9da041b0808d8797e399fe20f75b10fb06564c.tar.bz2 qemu-fb9da041b0808d8797e399fe20f75b10fb06564c.zip |
qemu: remove control vector save
control vector is saved/restored by virtio-pci,
it does not belong in virtio.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/virtio.c')
-rw-r--r-- | hw/virtio.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/hw/virtio.c b/hw/virtio.c index 843be86fea..41e7ca2c1b 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; |