aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio/vhost-backend.c
diff options
context:
space:
mode:
authorPeter Xu <peterx@redhat.com>2017-06-30 15:24:38 +0800
committerMichael S. Tsirkin <mst@redhat.com>2017-07-03 22:29:49 +0300
commit552a1e01a41d7c24397a83947cca94d8d66e5f49 (patch)
tree04ab0b3358700e3d9edd3f843e3dea1b7fd3a989 /hw/virtio/vhost-backend.c
parent4d7e7f2702912f1abd81162342df547436810a5f (diff)
downloadqemu-552a1e01a41d7c24397a83947cca94d8d66e5f49.zip
qemu-552a1e01a41d7c24397a83947cca94d8d66e5f49.tar.gz
qemu-552a1e01a41d7c24397a83947cca94d8d66e5f49.tar.bz2
intel_iommu: fix migration breakage on mr switch
Migration is broken after the vfio integration work: qemu-kvm: AHCI: Failed to start FIS receive engine: bad FIS receive buffer address qemu-kvm: Failed to load ich9_ahci:ahci qemu-kvm: error while loading state for instance 0x0 of device '0000:00:1f.2/ich9_ahci' qemu-kvm: load of migration failed: Operation not permitted The problem is that vfio work introduced dynamic memory region switching (actually it is also used for future PT mode), and this memory region layout is not properly delivered to destination when migration happens. Solution is to rebuild the layout in post_load. Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1459906 Fixes: 558e0024 ("intel_iommu: allow dynamic switch of IOMMU region") Reviewed-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Peter Xu <peterx@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/virtio/vhost-backend.c')
0 files changed, 0 insertions, 0 deletions