提交 dca61621 编写于 作者: M Michael S. Tsirkin 提交者: Anthony Liguori

qemu: remove control vector save

control vector is saved/restored by virtio-pci,
it does not belong in virtio.
Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
上级 9a3e12c8
...@@ -626,9 +626,6 @@ void virtio_save(VirtIODevice *vdev, QEMUFile *f) ...@@ -626,9 +626,6 @@ void virtio_save(VirtIODevice *vdev, QEMUFile *f)
qemu_put_be32(f, vdev->config_len); qemu_put_be32(f, vdev->config_len);
qemu_put_buffer(f, vdev->config, 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++) { for (i = 0; i < VIRTIO_PCI_QUEUE_MAX; i++) {
if (vdev->vq[i].vring.num == 0) if (vdev->vq[i].vring.num == 0)
break; break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册