Commit dca61621f8a953623aeef62fc5d579a513af45e9
Committed by
Anthony Liguori
1 parent
9a3e12c8
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>
Showing
1 changed file
with
0 additions
and
3 deletions
hw/virtio.c
... | ... | @@ -626,9 +626,6 @@ void virtio_save(VirtIODevice *vdev, QEMUFile *f) |
626 | 626 | qemu_put_be32(f, vdev->config_len); |
627 | 627 | qemu_put_buffer(f, vdev->config, vdev->config_len); |
628 | 628 | |
629 | - if (vdev->nvectors) | |
630 | - qemu_put_be16s(f, &vdev->config_vector); | |
631 | - | |
632 | 629 | for (i = 0; i < VIRTIO_PCI_QUEUE_MAX; i++) { |
633 | 630 | if (vdev->vq[i].vring.num == 0) |
634 | 631 | break; | ... | ... |