vduse: Delay iova domain creation
authorXie Yongji <xieyongji@bytedance.com>
Thu, 23 Mar 2023 05:30:42 +0000 (13:30 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 21 Apr 2023 07:02:32 +0000 (03:02 -0400)
commitd4438d23eeeef8bb1b3a8abe418abffd60bb544a
tree0df325c716d037d085a026e63042dd16dd52e0bb
parente38632dd71818d99bcebeb55f27dc764a9f7d547
vduse: Delay iova domain creation

Delay creating iova domain until the vduse device is
registered to vdpa bus.

This is a preparation for adding sysfs interface to
support specifying bounce buffer size for the iova
domain.

Signed-off-by: Xie Yongji <xieyongji@bytedance.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20230323053043.35-11-xieyongji@bytedance.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/vdpa_user/vduse_dev.c