qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [vhost] link new devices


From: Vasile Catalin-B50542
Subject: Re: [Qemu-devel] [vhost] link new devices
Date: Wed, 4 Mar 2015 09:46:51 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

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

[Prev in Thread] Current Thread [Next in Thread]