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

[libvirt] [discuss] add reconnect support for vhost -user




Hello everyone:

 I want to implement a function, it is unclear whether anyone has submitted such a patch. 

add reconnect support for vhost-user when unix control socket between vhost-user and vhost-user backend is   disconnected .


xml 

 <interface type='vhostuser'>

      <mac address='fa:16:3e:10:23:01'/>

      <source type='unix' path='/opt/network/ovdk/bin/vhost.sock' reconnect='10' mode='client'/> ----------reconnect 

      <model type='virtio'/>

    </interface>

Reconnect value  represents the interval seconds between reconnection.






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