qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [vhost] link new devices
@ 2015-02-13 15:33 Vasile Catalin-B50542
  2015-03-03 15:40 ` Stefan Hajnoczi
  2015-03-04  7:46 ` Vasile Catalin-B50542
  0 siblings, 2 replies; 3+ messages in thread
From: Vasile Catalin-B50542 @ 2015-02-13 15:33 UTC (permalink / raw)
  To: qemu-devel

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [vhost] link new devices
  2015-02-13 15:33 [Qemu-devel] [vhost] link new devices Vasile Catalin-B50542
@ 2015-03-03 15:40 ` Stefan Hajnoczi
  2015-03-04  7:46 ` Vasile Catalin-B50542
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Hajnoczi @ 2015-03-03 15:40 UTC (permalink / raw)
  To: Vasile Catalin-B50542; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 426 bytes --]

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

[-- Attachment #2: Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [vhost] link new devices
  2015-02-13 15:33 [Qemu-devel] [vhost] link new devices Vasile Catalin-B50542
  2015-03-03 15:40 ` Stefan Hajnoczi
@ 2015-03-04  7:46 ` Vasile Catalin-B50542
  1 sibling, 0 replies; 3+ messages in thread
From: Vasile Catalin-B50542 @ 2015-03-04  7:46 UTC (permalink / raw)
  To: Vasile Catalin-B50542; +Cc: qemu-devel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-04  7:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-13 15:33 [Qemu-devel] [vhost] link new devices Vasile Catalin-B50542
2015-03-03 15:40 ` Stefan Hajnoczi
2015-03-04  7:46 ` Vasile Catalin-B50542

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).