From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57297) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSovb-0003Q9-PC for qemu-devel@nongnu.org; Tue, 03 Mar 2015 10:40:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSovY-0000po-Iq for qemu-devel@nongnu.org; Tue, 03 Mar 2015 10:40:11 -0500 Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]:40993) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSovY-0000p8-D5 for qemu-devel@nongnu.org; Tue, 03 Mar 2015 10:40:08 -0500 Received: by widex7 with SMTP id ex7so23676393wid.0 for ; Tue, 03 Mar 2015 07:40:07 -0800 (PST) Date: Tue, 3 Mar 2015 09:40:03 -0600 From: Stefan Hajnoczi Message-ID: <20150303154003.GB15846@stefanha-thinkpad.redhat.com> References: <54DE1945.30600@freescale.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="24zk1gE8NUlDmwG9" Content-Disposition: inline In-Reply-To: <54DE1945.30600@freescale.com> Subject: Re: [Qemu-devel] [vhost] link new devices List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vasile Catalin-B50542 Cc: qemu-devel@nongnu.org --24zk1gE8NUlDmwG9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 --24zk1gE8NUlDmwG9 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJU9dXTAAoJEJykq7OBq3PIMigH/iYMPlj8a0sS5e9Yc9iPC7q6 viBEuje5XeYUgmqgU2VAPaAIhHf/juQ96Ar3LRHSEDximFf32djia48g4M1IOtfc gxEduUk2li9T30Q7dpK1cF6xRWW6/7nV4bFu/N1vWvB5x1cl4CpIQNyJh6noR1Mc IjO9KS2NimI8oJWG9PBjMj0jrNmHZTa5dfZqGjf/YrdPDrpEPLw2Cd6jHtT5oQmn eC7xQljUfoW/UIjVu4e+rCJI1G8hbiQhQkptZP6CYi2EdphmnIJQxViqhsoNbD3x ZFRhZzax8mUApUj4hISeJX8yLshOyh2B7kptB4586NmNkbZL9mrPI0q8MgOW7Js= =0iQe -----END PGP SIGNATURE----- --24zk1gE8NUlDmwG9--