Jason Wang 7873df408d tap: properly initialize vhostfds
Only tap->vhostfd were checked net_init_tap_one(), but tap->vhostfds were
forgot, this will lead qemu to ignore all fds passed by management through
vhostfds, and tries to create vhost_net device itself. Fix by adding this check
also.

Reportyed-by: Michal Privoznik <mprivozn@redhat.com>
Cc: Michal Privoznik <mprivozn@redhat.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2013-05-03 13:53:46 +02:00
..
2013-03-25 11:13:10 +01:00
2012-12-19 08:31:29 +01:00
2013-03-25 11:13:10 +01:00
2013-05-03 13:53:46 +02:00
2013-02-27 16:10:39 +01:00
2013-02-01 11:03:02 -06:00
2013-02-01 11:03:02 -06:00
2013-02-01 11:03:02 -06:00
2013-02-01 11:03:02 -06:00
2013-02-27 16:10:47 +01:00
2013-02-27 16:10:47 +01:00
2013-02-01 11:03:02 -06:00
2013-05-03 13:53:46 +02:00
2012-12-19 08:31:29 +01:00