Nikolay Nikolaev 212d69f25e vhost_net should call the poll callback only when it is set
The poll callback needs to be called when bringing up or down
the vhost_net instance. As it is not mandatory for an NetClient
to implement it, invoke it only when it is set.

Signed-off-by: Antonios Motakis <a.motakis@virtualopensystems.com>
Signed-off-by: Nikolay Nikolaev <n.nikolaev@virtualopensystems.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2014-06-19 16:41:55 +03:00
..
2014-06-16 12:27:47 +01:00
2013-12-24 18:02:18 +01:00
2014-06-19 16:41:52 +03:00
2014-06-16 18:26:21 +01:00
2014-06-16 13:24:36 +02:00
2014-05-28 17:36:21 +02:00
2014-06-16 13:24:38 +02:00
2014-06-16 13:24:26 +02:00
2014-06-16 13:24:46 +02:00
2014-06-10 09:50:27 +02:00
2014-05-28 17:36:21 +02:00
2013-08-22 19:10:27 +02:00
2014-05-07 18:38:39 +01:00