Re: [Qemu-devel] [PATCH 2/4] net: add net_is_tap_client()

2012-10-18 Thread Stefan Hajnoczi
On Thu, Oct 18, 2012 at 05:05:51PM +0200, Paolo Bonzini wrote: > Il 18/10/2012 16:56, Stefan Hajnoczi ha scritto: > > From: Stefan Hajnoczi > > > > The vhost-net code interacts closely with the net/tap.c backend so that > > it can pass the underlying file descriptor to the vhost_net.ko driver. >

Re: [Qemu-devel] [PATCH 2/4] net: add net_is_tap_client()

2012-10-18 Thread Paolo Bonzini
Il 18/10/2012 16:56, Stefan Hajnoczi ha scritto: > From: Stefan Hajnoczi > > The vhost-net code interacts closely with the net/tap.c backend so that > it can pass the underlying file descriptor to the vhost_net.ko driver. > We need a check that confirms a NetClientState is indeed a tap backend >

[Qemu-devel] [PATCH 2/4] net: add net_is_tap_client()

2012-10-18 Thread Stefan Hajnoczi
From: Stefan Hajnoczi The vhost-net code interacts closely with the net/tap.c backend so that it can pass the underlying file descriptor to the vhost_net.ko driver. We need a check that confirms a NetClientState is indeed a tap backend (and not something else like slirp or socket). Formalize thi

[Qemu-devel] [PATCH 2/4] net: add net_is_tap_client()

2012-07-02 Thread Stefan Hajnoczi
The vhost-net code interacts closely with the net/tap.c backend so that it can pass the underlying file descriptor to the vhost_net.ko driver. We need a check that confirms a NetClientState is indeed a tap backend (and not something else like slirp or socket). Formalize this in the new net_is_tap_