commit | 94c643732dc110d04bbdf0eb43c41bce23b3593e | [log] [tgz] |
---|---|---|
author | Eugenio Pérez <eperezma@redhat.com> | Wed Jul 20 08:59:41 2022 +0200 |
committer | Jason Wang <jasowang@redhat.com> | Wed Jul 20 16:58:08 2022 +0800 |
tree | d92034ac7c2c5ac1d5e5c1a50c6d5253b9a8d651 | |
parent | 463ba1e3b8cf080812895c5f26d95d8d7db2e692 [diff] |
vhost-net-vdpa: add stubs for when no virtio-net device is present net/vhost-vdpa.c will need functions that are declared in vhost-shadow-virtqueue.c, that needs functions of virtio-net.c. Copy the vhost-vdpa-stub.c code so only the constructor net_init_vhost_vdpa needs to be defined. Signed-off-by: Eugenio Pérez <eperezma@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com>