]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
support for QEMU vhost-user
authorMichele Paolino <m.paolino@virtualopensystems.com>
Fri, 11 Jul 2014 17:47:31 +0000 (19:47 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 16 Jul 2014 16:44:57 +0000 (18:44 +0200)
commita14abd463a97b1d5790793fafaedec096372d5e4
treef050b9696d262587bbd9c4088ff78ea5da90889b
parent97c59b9c46f915c48cd5db96ada40f060553bcae
support for QEMU vhost-user

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:

<interface type='vhostuser'>
    <mac address='52:54:00:3b:83:1a'/>
    <source type='unix' path='/tmp/vhost.sock' mode='server'/>
    <model type='virtio'/>
</interface>

Signed-off-by: Michele Paolino <m.paolino@virtualopensystems.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
13 files changed:
docs/formatdomain.html.in
docs/schemas/domaincommon.rng
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libxl/libxl_conf.c
src/lxc/lxc_process.c
src/qemu/qemu_command.c
src/uml/uml_conf.c
src/xenxs/xen_sxpr.c
tests/qemuxml2argvdata/qemuxml2argv-net-vhostuser.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-net-vhostuser.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c
tests/qemuxml2xmltest.c