aboutsummaryrefslogtreecommitdiff
path: root/rust/qemu-api-macros
diff options
context:
space:
mode:
authorZhenzhong Duan <zhenzhong.duan@intel.com>2025-04-24 14:33:55 +0800
committerCédric Le Goater <clg@redhat.com>2025-04-25 09:01:38 +0200
commitf3028b7d2d9895799159433ccb18180c2d4d1516 (patch)
tree6f43c0023a219b41d4124a7079e0d02d15c49f3e /rust/qemu-api-macros
parentfdd75967836ca1affa29ad5a50a690851d310cd9 (diff)
downloadqemu-f3028b7d2d9895799159433ccb18180c2d4d1516.zip
qemu-f3028b7d2d9895799159433ccb18180c2d4d1516.tar.gz
qemu-f3028b7d2d9895799159433ccb18180c2d4d1516.tar.bz2
vfio: Register/unregister container for CPR only once for each container
vfio_cpr_register_container and vfio_cpr_unregister_container are container scoped function. Calling them for each device attaching/detaching would corrupt CPR reboot notifier list, i.e., when two VFIO devices are attached to same container and have same notifier registered twice. Fixes: d9fa4223b30a ("vfio: register container for cpr") Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com> Reviewed-by: Cédric Le Goater <clg@redhat.com> Link: https://lore.kernel.org/qemu-devel/20250424063355.3855174-1-zhenzhong.duan@intel.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'rust/qemu-api-macros')
0 files changed, 0 insertions, 0 deletions