Re: [Qemu-devel] Question about VM virtio device's link down delay when vhost-user reconnect

2019-03-07 Thread Michael S. Tsirkin
On Fri, Mar 08, 2019 at 01:53:28AM +, Lilijun (Jerry, Cloud Networking) wrote: > > -Original Message- > > From: Michael S. Tsirkin [mailto:m...@redhat.com] > > > > On Wed, Mar 06, 2019 at 07:36:44AM +, Lilijun (Jerry, Cloud Networking) > > wrote: > > > Thanks a lot for your

Re: [Qemu-devel] Question about VM virtio device's link down delay when vhost-user reconnect

2019-03-07 Thread Lilijun (Jerry, Cloud Networking)
> -Original Message- > From: Michael S. Tsirkin [mailto:m...@redhat.com] > > On Wed, Mar 06, 2019 at 07:36:44AM +, Lilijun (Jerry, Cloud Networking) > wrote: > > Thanks a lot for your advice. > > > > Maybe there are two methods to add this option: > > 1) Firstly, add a vhost-user

Re: [Qemu-devel] Question about VM virtio device's link down delay when vhost-user reconnect

2019-03-06 Thread Michael S. Tsirkin
On Wed, Mar 06, 2019 at 07:36:44AM +, Lilijun (Jerry, Cloud Networking) wrote: > Thanks a lot for your advice. > > Maybe there are two methods to add this option: > 1) Firstly, add a vhost-user protocol feature to tell Qemu if hide the > disconnects from the guest. Here we just need the

Re: [Qemu-devel] Question about VM virtio device's link down delay when vhost-user reconnect

2019-03-05 Thread Lilijun (Jerry, Cloud Networking)
Thanks a lot for your advice. Maybe there are two methods to add this option: 1) Firstly, add a vhost-user protocol feature to tell Qemu if hide the disconnects from the guest. Here we just need the backend such as dpdk vhostuser to support this option and the feature. 2) Secondly, add a VM

Re: [Qemu-devel] Question about VM virtio device's link down delay when vhost-user reconnect

2019-03-04 Thread Michael S. Tsirkin
On Mon, Mar 04, 2019 at 11:46:32AM +, Lilijun (Jerry, Cloud Networking) wrote: > Hi all, > > I am running my VM using vhost-user NIC with OVS-DPDK. The steps of my > question is shown as follows: > 1) In the VM, I add one route entry manually on the vNIC eth0 using > "route add

[Qemu-devel] Question about VM virtio device's link down delay when vhost-user reconnect

2019-03-04 Thread Lilijun (Jerry, Cloud Networking)
Hi all, I am running my VM using vhost-user NIC with OVS-DPDK. The steps of my question is shown as follows: 1) In the VM, I add one route entry manually on the vNIC eth0 using "route add default gw 192.168.1.2". 2) If openvswitch service was restarted, or the process