diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2015-07-30 14:16:11 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-07-30 15:43:58 +0200 |
commit | 1cc933453bf2baae1feb7c8e757bdfd0ef639002 (patch) | |
tree | 35d92afb53487f4025b66dcf1118be5a92cb91f2 /qemu.nsi | |
parent | cb48f67ad8c7b33c617d4f8144a27706e69fd688 (diff) | |
download | qemu-1cc933453bf2baae1feb7c8e757bdfd0ef639002.zip |
virtio-scsi: use virtqueue_map_sg() when loading requests
The VirtQueueElement struct is serialized during migration but the
in_sg[]/out_sg[] iovec arrays are not usable on the destination host
because the pointers are meaningless.
Use virtqueue_map_sg() to refresh in_sg[]/out_sg[] to valid pointers
based on in_addr[]/out_addr[] hwaddrs.
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <1438262173-11546-2-git-send-email-stefanha@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qemu.nsi')
0 files changed, 0 insertions, 0 deletions