commit | 3597a2fba672cfd4112bbdbe6220127f280c8dba | [log] [tgz] |
---|---|---|
author | Zhu Lingshan <lingshan.zhu@intel.com> | Fri Jul 31 14:55:32 2020 +0800 |
committer | Michael S. Tsirkin <mst@redhat.com> | Wed Aug 05 11:08:42 2020 -0400 |
tree | 4f421f4016c7412bedbfcf6da4141c1b0bf560de | |
parent | 2cf1ba9a4d15cb78b96ea97f727b93382c3f9a60 [diff] |
ifcvf: implement vdpa_config_ops.get_vq_irq() This commit implemented vdpa_config_ops.get_vq_irq() in ifcvf, and initialized vq irq to -EINVAL. So that ifcvf can report irq number of a vq, or -EINVAL if the vq is not assigned an irq number. Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com> Suggested-by: Jason Wang <jasowang@redhat.com> Link: https://lore.kernel.org/r/20200731065533.4144-6-lingshan.zhu@intel.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com>