Re: [libvirt] [PATCH v3 RESEND] vhost-user: add support reconnect for vhost-user ports

2017-10-27 Thread Michal Privoznik
On 10/09/2017 02:19 AM, ZhiPeng Lu wrote:
> For vhost-user ports, Open vSwitch acts as the server and QEMU the client.
> When OVS crashes or restarts, the QEMU process should be reconnected to
> OVS.
> 
> Signed-off-by: ZhiPeng Lu 
> ---
>  docs/schemas/domaincommon.rng  | 26 --
>  src/conf/domain_conf.c | 40 
> ++
>  src/conf/domain_conf.h | 10 +++---
>  src/qemu/qemu_command.c|  2 +-
>  src/qemu/qemu_domain.c |  2 +-
>  src/qemu/qemu_monitor_json.c   |  2 +-
>  .../qemuxml2argv-net-vhostuser-multiq.args |  4 +--
>  .../qemuxml2argv-net-vhostuser-multiq.xml  |  8 +++--
>  8 files changed, 65 insertions(+), 29 deletions(-)
> 
> diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
> index 76852ab..3f4ed82 100644
> --- a/docs/schemas/domaincommon.rng
> +++ b/docs/schemas/domaincommon.rng
> @@ -2327,6 +2327,18 @@
>
>  
>
> +  
> +
> +  
> +
> +  
> +  
> +
> +  
> +
> +  
> +
> +  
>  
>

[libvirt] [PATCH v3 RESEND] vhost-user: add support reconnect for vhost-user ports

2017-10-08 Thread ZhiPeng Lu
For vhost-user ports, Open vSwitch acts as the server and QEMU the client.
When OVS crashes or restarts, the QEMU process should be reconnected to
OVS.

Signed-off-by: ZhiPeng Lu 
---
 docs/schemas/domaincommon.rng  | 26 --
 src/conf/domain_conf.c | 40 ++
 src/conf/domain_conf.h | 10 +++---
 src/qemu/qemu_command.c|  2 +-
 src/qemu/qemu_domain.c |  2 +-
 src/qemu/qemu_monitor_json.c   |  2 +-
 .../qemuxml2argv-net-vhostuser-multiq.args |  4 +--
 .../qemuxml2argv-net-vhostuser-multiq.xml  |  8 +++--
 8 files changed, 65 insertions(+), 29 deletions(-)

diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
index 76852ab..3f4ed82 100644
--- a/docs/schemas/domaincommon.rng
+++ b/docs/schemas/domaincommon.rng
@@ -2327,6 +2327,18 @@
   
 
   
+  
+
+  
+
+  
+  
+
+  
+
+  
+
+  
 
   

[libvirt] [PATCH v3 RESEND] vhost-user: add support reconnect for vhost-user ports

2017-09-29 Thread ZhiPeng Lu
For vhost-user ports, Open vSwitch acts as the server and QEMU the client.
When OVS crashes or restarts, the QEMU process should be reconnected to
OVS.

Signed-off-by: ZhiPeng Lu 
---
 docs/schemas/domaincommon.rng  | 26 --
 src/conf/domain_conf.c | 40 ++
 src/conf/domain_conf.h | 10 +++---
 src/qemu/qemu_command.c|  2 +-
 src/qemu/qemu_domain.c |  2 +-
 src/qemu/qemu_monitor_json.c   |  2 +-
 .../qemuxml2argv-net-vhostuser-multiq.args |  4 +--
 .../qemuxml2argv-net-vhostuser-multiq.xml  |  8 +++--
 8 files changed, 65 insertions(+), 29 deletions(-)

diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
index 76852ab..3f4ed82 100644
--- a/docs/schemas/domaincommon.rng
+++ b/docs/schemas/domaincommon.rng
@@ -2327,6 +2327,18 @@
   
 
   
+  
+
+  
+
+  
+  
+
+  
+
+  
+
+