diff options
author | Steve Sistare <steven.sistare@oracle.com> | 2025-07-02 14:58:48 -0700 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2025-07-03 13:42:28 +0200 |
commit | a434fd8f6462c1541927d22e07c58425d6cbd84b (patch) | |
tree | 95d316e18a8f3a495935a644b3c55c1ad5c1d861 /include | |
parent | 184053f04f6ad6b2950d4712063ffed43bb2720f (diff) | |
download | qemu-a434fd8f6462c1541927d22e07c58425d6cbd84b.zip qemu-a434fd8f6462c1541927d22e07c58425d6cbd84b.tar.gz qemu-a434fd8f6462c1541927d22e07c58425d6cbd84b.tar.bz2 |
vfio/iommufd: device name blocker
If an invariant device name cannot be created, block CPR.
Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Link: https://lore.kernel.org/qemu-devel/1751493538-202042-12-git-send-email-steven.sistare@oracle.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/vfio/vfio-cpr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/vfio/vfio-cpr.h b/include/hw/vfio/vfio-cpr.h index d37acc4..fa7d43d 100644 --- a/include/hw/vfio/vfio-cpr.h +++ b/include/hw/vfio/vfio-cpr.h @@ -30,6 +30,7 @@ typedef struct VFIOContainerCPR { typedef struct VFIODeviceCPR { Error *mdev_blocker; + Error *id_blocker; } VFIODeviceCPR; bool vfio_legacy_cpr_register_container(struct VFIOContainer *container, |