diff options
author | Stefano Garzarella <sgarzare@redhat.com> | 2020-12-15 17:42:46 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-12-19 00:14:29 +0300 |
commit | 011c35bac5ef25f701d9a79bc731782889c0ff58 (patch) | |
tree | 5277db824b32dea5239a729f484eae719f29f651 /virt | |
parent | 2f8f461888052f1b92ebe6419514355538f7cd68 (diff) | |
download | linux-011c35bac5ef25f701d9a79bc731782889c0ff58.tar.xz |
vdpa_sim: add supported_features field in vdpasim_dev_attr
Introduce a new VDPASIM_FEATURES macro with the generic features
supported by the vDPA simulator, and VDPASIM_NET_FEATURES macro with
vDPA-net features.
Add 'supported_features' field in vdpasim_dev_attr, to allow devices
to specify their features.
Co-developed-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Link: https://lore.kernel.org/r/20201215144256.155342-9-sgarzare@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions