<div dir="ltr">ping :)<br><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 2, 2014 at 3:20 PM, Michele Paolino <span dir="ltr"><<a href="mailto:m.paolino@virtualopensystems.com" target="_blank">m.paolino@virtualopensystems.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This series adds support for the QEMU vhost-user feature to libvirt.<br>
vhost-user enables the communication between a QEMU virtual machine<br>
and other userspace process using the Virtio transport protocol.<br>
It uses a char dev (e.g. Unix socket) for the control plane,<br>
while the data plane based on shared memory.<br>
<br>
The XML looks like:<br>
<br>
   <interface type='vhostuser'><br>
      <source type='unix' path='/tmp/vhost.sock' mode='server'/><br>
      <mac address='52:54:00:3b:83:1a'/><br>
      <model type='virtio'/><br>
   </interface><br>
<br>
Our use case is the deployment of Snabbswitch in an OpenStack/NFV<br>
environment. Snabbswitch uses a Unix socket to implement the<br>
vhost-user control plane, thus we focused on the support for the<br>
type=unix attribute of the <source> element.<br>
To test it with Snabbswitch, it is necessary to apply the<br>
following patches (respectively from Chen Fan and Michele Paolino):<br>
<a href="http://www.redhat.com/archives/libvir-list/2014-June/msg01195.html" target="_blank">http://www.redhat.com/archives/libvir-list/2014-June/msg01195.html</a><br>
<a href="http://www.redhat.com/archives/libvir-list/2014-June/msg01418.html" target="_blank">http://www.redhat.com/archives/libvir-list/2014-June/msg01418.html</a><br>
<br>
It is also possible to directly checkout the Virtual Open Systems'<br>
libvirt repository(branch "vhost-user_support) at the address:<br>
<a href="https://github.com/virtualopensystems/libvirt" target="_blank">https://github.com/virtualopensystems/libvirt</a>.<br>
<br>
This patch is based on the previous work from Luke Gorrie:<br>
<a href="http://www.redhat.com/archives/libvir-list/2014-May/msg00934.html" target="_blank">http://www.redhat.com/archives/libvir-list/2014-May/msg00934.html</a><br>
<br>
Michele Paolino (4):<br>
  vhost-user support: domain configuration<br>
  vhost-user support: qemu command-line<br>
  vhost-user support: tests and docs<br>
  vhost-user support: lxc,xenxs,uml<br>
<br>
 docs/<a href="http://formatdomain.html.in" target="_blank">formatdomain.html.in</a>                          | 34 +++++++++<br>
 docs/schemas/domaincommon.rng                      | 39 +++++++++++<br>
 src/conf/domain_conf.c                             | 81 ++++++++++++++++++++++<br>
 src/conf/domain_conf.h                             | 10 ++-<br>
 src/lxc/lxc_process.c                              |  1 +<br>
 src/qemu/qemu_command.c                            | 58 ++++++++++++++++<br>
 src/uml/uml_conf.c                                 |  5 ++<br>
 src/xenxs/xen_sxpr.c                               |  1 +<br>
 .../qemuxml2argv-net-vhostuser.args                |  7 ++<br>
 .../qemuxml2argv-net-vhostuser.xml                 | 33 +++++++++<br>
 tests/qemuxml2argvtest.c                           |  1 +<br>
 tests/qemuxml2xmltest.c                            |  1 +<br>
 12 files changed, 269 insertions(+), 2 deletions(-)<br>
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-net-vhostuser.args<br>
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-net-vhostuser.xml<br>
<span><font color="#888888"><br>
--<br>
1.9.3<br>
<br>
</font></span></blockquote></div>
</div></div></div>