vhost-user: add support reconnect for vhost-user ports

For vhost-user ports, Open vSwitch acts as the server and QEMU the client.
When OVS crashed or restart, QEMU shoule be reconnect to OVS.

Signed-off-by: ZhiPeng Lu <lu.zhipeng@zte.com.cn>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
ZhiPeng Lu
2017-09-08 17:12:09 +08:00
committed by Michal Privoznik
parent b06521928c
commit edaf4ebe95
5 changed files with 37 additions and 5 deletions

View File

@@ -2388,6 +2388,11 @@
<value>client</value>
</choice>
</attribute>
<optional>
<attribute name="reconnect">
<ref name='positiveInteger'/>
</attribute>
</optional>
<empty/>
</element>
<ref name="interface-options"/>