diff options
author | Jason Wang | 2022-05-24 13:55:57 +0800 |
---|---|---|
committer | Michael S. Tsirkin | 2022-06-01 02:16:38 -0400 |
commit | bd8bb9aed56b1814784a975e2dfea12a9adcee92 (patch) | |
tree | caba8cdafd5d65c7f2f6898882b540d053fc31a1 /include | |
parent | baf2ad3f6a985354293e371b9ba12b162d639e29 (diff) |
vdpa: ifcvf: set pci driver data in probe
We should set the pci driver data in probe instead of the vdpa device
adding callback. Otherwise if no vDPA device is created we will lose
the pointer to the management device.
Fixes: 6b5df347c6482 ("vDPA/ifcvf: implement management netlink framework for ifcvf")
Tested-by: Zheyu Ma <zheyuma97@gmail.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20220524055557.1938-1-jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions