From: Michael S. Tsirkin Date: Wed, 1 Jul 2009 13:28:06 +0000 (+0300) Subject: qemu: remove control vector save X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~11488 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dca61621f8a953623aeef62fc5d579a513af45e9;p=sdk%2Femulator%2Fqemu.git 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 Signed-off-by: Anthony Liguori --- 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;