]> git.proxmox.com Git - qemu.git/commit
virtio-blk: Fix migration of queued requests
authorKevin Wolf <kwolf@redhat.com>
Tue, 3 Aug 2010 14:57:02 +0000 (16:57 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 30 Aug 2010 16:38:36 +0000 (18:38 +0200)
commit55ee7b38e820601e9e226061f1b68f9275553ec5
treeefcdf15df08ffe930d6b2d369bc8f17a56ce9696
parent6674dc4269030567dd6c463b7eedc8a5b9ad1888
virtio-blk: Fix migration of queued requests

in_sg[].iovec and out_sg[].ioved are pointer to (source) host memory and
therefore invalid after migration. When loading the device state we must
create a new mapping on the destination host.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
(cherry picked from commit b6a4805b55b409134dc712677fdc4f6a8795e965)
hw/virtio-blk.c