On 11.07.2014 19:47, Michele Paolino wrote:
> This patch adds support for the QEMU vhost-user feature to libvirt.
> vhost-user enables the communication between a QEMU virtual machine
> and other userspace process using the Virtio transport protocol.
> It uses a char dev (e.g. Unix socket) for the control plane,
> while the data plane based on shared memory.
>
> The XML looks like:
>
>
>
>
>
>
>
> changes from v1:
> * addressed comments
> * removed unnecessary checks
> * series merged in a single patch
We tend to write the diff to previous versions into notes not in the commit
message as it pollutes git log.
BTW: I didn't ask the whole patchset to be merged into a single patch, but it
doesn't hurt in this specific case either (the diff stat seems reasonably big).
>
> The previous version of this patch can be found at:
> http://www.redhat.com/archives/libvir-list/2014-July/msg00111.html
>
> Signed-off-by: Michele Paolino
> ---
> docs/formatdomain.html.in | 34 +
> docs/schemas/domaincommon.rng | 25 +++
> src/conf/domain_conf.c | 87
> ++
> src/conf/domain_conf.h | 10 ++-
> src/libxl/libxl_conf.c | 1 +
> src/lxc/lxc_process.c | 1 +
> src/qemu/qemu_command.c| 63
> src/uml/uml_conf.c | 5 ++
> src/xenxs/xen_sxpr.c | 1 +
> .../qemuxml2argv-net-vhostuser.args| 7 ++
> .../qemuxml2argv-net-vhostuser.xml | 33
> tests/qemuxml2argvtest.c | 1 +
> tests/qemuxml2xmltest.c| 1 +
> 13 files changed, 267 insertions(+), 2 deletions(-)
> create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-net-vhostuser.args
> create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-net-vhostuser.xml
>
> diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
> index 3f8bbee..606b7d4 100644
> --- a/docs/formatdomain.html.in
> +++ b/docs/formatdomain.html.in
> @@ -3927,6 +3927,40 @@ qemu-kvm -net nic,model=? /dev/null
> Since 0.9.5
>
>
> +vhost-user interface
> +
> +
> + vhost-user enables the communication between a QEMU virtual machine
> + and other userspace process using the Virtio transport protocol.
> + A char dev (e.g. Unix socket) is used for the control plane, while
> + the data plane is based on shared memory.
> +
> +
> +
> + ...
> +
> +
> +
> +
> +
> +
> +
I don't think so. Empty bodies elements are written as . And that's how
libvirt formats them too. And if I were to be really picky, is formated
before .
> +
> +
> + ...
> +
> +
> + The
This patch adds support for the QEMU vhost-user feature to libvirt.
vhost-user enables the communication between a QEMU virtual machine
and other userspace process using the Virtio transport protocol.
It uses a char dev (e.g. Unix socket) for the control plane,
while the data plane based on shared memory.
The XML looks like:
changes from v1:
* addressed comments
* removed unnecessary checks
* series merged in a single patch
The previous version of this patch can be found at:
http://www.redhat.com/archives/libvir-list/2014-July/msg00111.html
Signed-off-by: Michele Paolino
---
docs/formatdomain.html.in | 34 +
docs/schemas/domaincommon.rng | 25 +++
src/conf/domain_conf.c | 87 ++
src/conf/domain_conf.h | 10 ++-
src/libxl/libxl_conf.c | 1 +
src/lxc/lxc_process.c | 1 +
src/qemu/qemu_command.c| 63
src/uml/uml_conf.c | 5 ++
src/xenxs/xen_sxpr.c | 1 +
.../qemuxml2argv-net-vhostuser.args| 7 ++
.../qemuxml2argv-net-vhostuser.xml | 33
tests/qemuxml2argvtest.c | 1 +
tests/qemuxml2xmltest.c| 1 +
13 files changed, 267 insertions(+), 2 deletions(-)
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-net-vhostuser.args
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-net-vhostuser.xml
diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index 3f8bbee..606b7d4 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -3927,6 +3927,40 @@ qemu-kvm -net nic,model=? /dev/null
Since 0.9.5
+vhost-user interface
+
+
+ vhost-user enables the communication between a QEMU virtual machine
+ and other userspace process using the Virtio transport protocol.
+ A char dev (e.g. Unix socket) is used for the control plane, while
+ the data plane is based on shared memory.
+
+
+
+ ...
+
+
+
+
+
+
+
+
+
+ ...
+
+
+ The