Home
last modified time | relevance | path

Searched hist:"7873 df408dd44eb92840b108211d5aa5db7db526" (Results 1 – 1 of 1) sorted by relevance

/qemu/net/
H A Dtap.c7873df408dd44eb92840b108211d5aa5db7db526 Fri Apr 19 07:11:15 UTC 2013 Jason Wang <jasowang@redhat.com> 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>