Message ID | 20090701115021.GC16726@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/hw/virtio.c b/hw/virtio.c index 843be86..e9dd7a0 100644 --- a/hw/virtio.c +++ b/hw/virtio.c @@ -665,6 +665,9 @@ int virtio_load(VirtIODevice *vdev, QEMUFile *f) vdev->config_len = qemu_get_be32(f); qemu_get_buffer(f, vdev->config, vdev->config_len); + if (vdev->nvectors) + qemu_get_be16s(f, &vdev->config_vector); + num = qemu_get_be32(f); for (i = 0; i < num; i++) {
Add missing load of control vector in virtio Signed-off-by: Michael S. Tsirkin <mst@redhat.com> --- hw/virtio.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)