On 08/20/2014 05:23 PM, Zhangjie (HZ) wrote: > On 2014/8/19 12:56, Jason Wang wrote: >> commit a9f98bb5ebe6fb1869321dcc58e72041ae626ad8 vhost: multiqueue > call it before setting >> Zhang Jie, please test this patch to see if it fixes the issue. >> +static void vhost_net_set_vq_index(struct vhost_net *net, int vq_index) >> +{ >> + net->dev.vq_index = vq_index; >> +} > int vq_index) >> ... > Because of vhost_net_set_vq_index, VM can be start successfully. > But, after about 80 times of migration under my environment, virtual nic > became unreachable again. > When I use jprobe to notify tap, the virtual nic becomes reachable again. > This shows that interrupts missing causes > the problem.
Thanks for the testing. A questions is can you reproduce this when vhost is disabled? Anyway, I will try to reproduce it by myself.