I'm not yet very accustomed to qemu sources and I usually associate source code modules
integration with type_init().
Related to vhost-net, I later found out that it is an API like source code, it is used/called by virtio-net.

On Fri, Feb 13, 2015 at 05:33:25PM +0200, Vasile Catalin-B50542 wrote:
How does the vhost API links with vhost devices?
I don't see any "*-net" or "*_net" or even "*net" references in vhost API
files,
nor do I see any registering macros inside vhost-net device code.

What do you mean by "link"?

The vhost kernel modules have an ioctl(2) interface.  See
hw/virtio/vhost-backend.c:vhost_kernel_call() callers.

Stefan


Reply via email to