On 2018年01月10日 15:39, Zhoujian (jay) wrote:
+ *vhost_init_failed = true;Why not simply check s->vhost_net after call net_init_tap_one()?s->vhost_net is always NULL if net_init_tap_one() failed, it can't distinguish failure reasons.
On which condition net_init_tap_one() fail but s->vhost_net is set? Thanks