]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio/container: Move realize() after attachment
authorZhenzhong Duan <zhenzhong.duan@intel.com>
Wed, 23 Apr 2025 07:28:22 +0000 (15:28 +0800)
committerCédric Le Goater <clg@redhat.com>
Fri, 25 Apr 2025 07:01:38 +0000 (09:01 +0200)
commit0327ffc8530e9733526fab6c790ad5f0661b008d
treed042b5ae47a0a054bd60e6b5b4865ab2bc7da9ba
parentc45d88b8a2f25600c69748bfcf37911412c396ab
vfio/container: Move realize() after attachment

To match the change for IOMMUFD backend, move realize() after attachment
for legacy backend too.

Suggested-by: Cédric Le Goater <clg@redhat.com>
Suggested-by: Donald Dutile <ddutile@redhat.com>
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/20250423072824.3647952-4-zhenzhong.duan@intel.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/container.c