]> git.ipfire.org Git - thirdparty/qemu.git/commit
vhost-net-vdpa: add stubs for when no virtio-net device is present
authorEugenio Pérez <eperezma@redhat.com>
Wed, 20 Jul 2022 06:59:41 +0000 (08:59 +0200)
committerJason Wang <jasowang@redhat.com>
Wed, 20 Jul 2022 08:58:08 +0000 (16:58 +0800)
commit94c643732dc110d04bbdf0eb43c41bce23b3593e
treed92034ac7c2c5ac1d5e5c1a50c6d5253b9a8d651
parent463ba1e3b8cf080812895c5f26d95d8d7db2e692
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>
net/meson.build
net/vhost-vdpa-stub.c [new file with mode: 0644]