]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio/cpr-legacy: drop an erroneous assert
authorZhenzhong Duan <zhenzhong.duan@intel.com>
Sun, 28 Sep 2025 08:54:28 +0000 (04:54 -0400)
committerCédric Le Goater <clg@redhat.com>
Wed, 22 Oct 2025 06:12:52 +0000 (08:12 +0200)
commit94230948960e56cb47e835266c7cd8df46da03a4
tree59db6688cc4735366a037c7425cb6eb3b136374d
parent5a78db7f8099274550bdacdc1fc24943567ac615
vfio/cpr-legacy: drop an erroneous assert

vfio_legacy_cpr_dma_map() is not only used in post_load on destination
but also error recovery path on source side. Assert it for destination
is wrong.

Fixes: 7e9f21411302 ("vfio/container: restore DMA vaddr")
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Steve Sistare <steven.sistare@oracle.com>
Link: https://lore.kernel.org/qemu-devel/20250928085432.40107-3-zhenzhong.duan@intel.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/cpr-legacy.c