diff options
author | Steve Sistare <steven.sistare@oracle.com> | 2025-06-10 08:39:21 -0700 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2025-06-11 14:01:58 +0200 |
commit | eba1f657cbb1b525e2b069626de655da21084e3e (patch) | |
tree | a37fd5a6dd8a6035395dd3d1abafb81895b98866 /hw/avr/arduino.c | |
parent | dac0dd68d9b150a6aa334ab8ee9aeba011d54b32 (diff) | |
download | qemu-eba1f657cbb1b525e2b069626de655da21084e3e.zip qemu-eba1f657cbb1b525e2b069626de655da21084e3e.tar.gz qemu-eba1f657cbb1b525e2b069626de655da21084e3e.tar.bz2 |
vfio/container: recover from unmap-all-vaddr failure
If there are multiple containers and unmap-all fails for some container, we
need to remap vaddr for the other containers for which unmap-all succeeded.
Recover by walking all address ranges of all containers to restore the vaddr
for each. Do so by invoking the vfio listener callback, and passing a new
"remap" flag that tells it to restore a mapping without re-allocating new
userland data structures.
Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/qemu-devel/1749569991-25171-9-git-send-email-steven.sistare@oracle.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'hw/avr/arduino.c')
0 files changed, 0 insertions, 0 deletions