qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Question about VM inner route entry's lost when vhost-u


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] Question about VM inner route entry's lost when vhost-user reconnect
Date: Wed, 6 Mar 2019 10:06:46 +0000
User-agent: Mutt/1.11.3 (2019-02-01)

On Mon, Mar 04, 2019 at 08:26:23AM +0000, Lilijun (Jerry, Cloud Networking) 
wrote:
>       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 the 
> linux tool route. 
>      2) When restarting openvswitch service for the crash of the 
> ovs-vswitchd, qemu's vhost-user reconnected successfully after 40s.  
>      3) Here VM's vNIC will receive link down and up events, the interval 
> between the two events is about 40s.
>      3) But that route entry disappeared and that will cause user's network 
> traffic interruption and the service failed.
> 
>      Is there some work on this problem?  Can we keep the vNIC's link up 
> status when do vhost-user's reconnecting work?

Can you add the custom route to the network management tool inside the
guest so that it will be reinstated when the link comes back up?

The details of how to do this depend on the guest's distro.

Stefan

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]