diff options
author | Stefano Garzarella <sgarzare@redhat.com> | 2020-12-15 15:42:44 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-12-18 16:14:29 -0500 |
commit | 6c6e28fe45794054410ad8cd2770af69fbe0338d (patch) | |
tree | f7a9cc9fda9a170665c5bf8490e362a7b7cabfe6 /drivers/firmware/pcdp.c | |
parent | 36a9c30630256629e62a9186793c28735ade3ffc (diff) | |
download | linux-6c6e28fe45794054410ad8cd2770af69fbe0338d.tar.gz |
vdpa_sim: add struct vdpasim_dev_attr for device attributes
vdpasim_dev_attr will contain device specific attributes. We starting
moving the number of virtqueues (i.e. nvqs) to vdpasim_dev_attr.
vdpasim_create() creates a new vDPA simulator following the device
attributes defined in the vdpasim_dev_attr parameter.
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-7-sgarzare@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/firmware/pcdp.c')
0 files changed, 0 insertions, 0 deletions