Re: Query: Is it possible to lose interrupts between vhost and virtio_net during migration?

2014-08-17 Thread Michael S. Tsirkin
On Fri, Aug 15, 2014 at 10:55:32AM +0800, Jason Wang wrote: I wonder if k-set_guest_notifiers should be called after hdev-started = true; in vhost_dev_start. Michael, can we just remove those assertions? Since you may want to set guest notifiers before starting the backend. Which

Re: Query: Is it possible to lose interrupts between vhost and virtio_net during migration?

2014-08-17 Thread Jason Wang
On 08/17/2014 06:22 PM, Michael S. Tsirkin wrote: On Fri, Aug 15, 2014 at 10:55:32AM +0800, Jason Wang wrote: I wonder if k-set_guest_notifiers should be called after hdev-started = true; in vhost_dev_start. Michael, can we just remove those assertions? Since you may want to set guest

Re: Query: Is it possible to lose interrupts between vhost and virtio_net during migration?

2014-08-14 Thread Jason Wang
On 08/07/2014 08:47 PM, Zhangjie (HZ) wrote: On 2014/8/5 20:14, Zhangjie (HZ) wrote: On 2014/8/5 17:49, Michael S. Tsirkin wrote: On Tue, Aug 05, 2014 at 02:29:28PM +0800, Zhangjie (HZ) wrote: Jason is right, the new order is not the cause of network unreachable. Changing order seems not

Re: Query: Is it possible to lose interrupts between vhost and virtio_net during migration?

2014-08-14 Thread Michael S. Tsirkin
On Thu, Aug 14, 2014 at 04:52:40PM +0800, Jason Wang wrote: On 08/07/2014 08:47 PM, Zhangjie (HZ) wrote: On 2014/8/5 20:14, Zhangjie (HZ) wrote: On 2014/8/5 17:49, Michael S. Tsirkin wrote: On Tue, Aug 05, 2014 at 02:29:28PM +0800, Zhangjie (HZ) wrote: Jason is right, the new order is not

Re: Query: Is it possible to lose interrupts between vhost and virtio_net during migration?

2014-08-14 Thread Jason Wang
On 08/14/2014 06:02 PM, Michael S. Tsirkin wrote: On Thu, Aug 14, 2014 at 04:52:40PM +0800, Jason Wang wrote: On 08/07/2014 08:47 PM, Zhangjie (HZ) wrote: On 2014/8/5 20:14, Zhangjie (HZ) wrote: On 2014/8/5 17:49, Michael S. Tsirkin wrote: On Tue, Aug 05, 2014 at 02:29:28PM +0800, Zhangjie

Re: Query: Is it possible to lose interrupts between vhost and virtio_net during migration?

2014-08-07 Thread Zhangjie (HZ)
On 2014/8/5 20:14, Zhangjie (HZ) wrote: On 2014/8/5 17:49, Michael S. Tsirkin wrote: On Tue, Aug 05, 2014 at 02:29:28PM +0800, Zhangjie (HZ) wrote: Jason is right, the new order is not the cause of network unreachable. Changing order seems not work. After about 40 times, the problem occurs

Re: Query: Is it possible to lose interrupts between vhost and virtio_net during migration?

2014-08-05 Thread Zhangjie (HZ)
On 2014/8/5 17:49, Michael S. Tsirkin wrote: On Tue, Aug 05, 2014 at 02:29:28PM +0800, Zhangjie (HZ) wrote: Jason is right, the new order is not the cause of network unreachable. Changing order seems not work. After about 40 times, the problem occurs again. Maybe there is other hidden

Query: Is it possible to lose interrupts between vhost and virtio_net during migration?

2014-07-31 Thread Zhangjie (HZ)
Thanks,MST! :-) I will change the order back and have a test again. On 2014/7/31 22:37, Michael S. Tsirkin wrote: On Thu, Jul 31, 2014 at 04:31:00PM +0200, Michael S. Tsirkin wrote: On Thu, Jul 31, 2014 at 07:47:24PM +0800, Zhangjie (HZ) wrote: [The test scenario]: Doing migration between