]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.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:29:22 +0000 (18:29 +0200)
commitb6a4805b55b409134dc712677fdc4f6a8795e965
tree05453021836fc408cd1693dac6ba6fea2611f57e
parent42fb2e0720511fa1da2f8e751be393f851b71d80
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>
hw/virtio-blk.c