[libvirt] [PATCH v2] support for QEMU vhost-user

2014-07-11 Thread Michele Paolino
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

Re: [libvirt] [PATCH 3/4] vhost-user support: tests and docs

2014-07-11 Thread Michele Paolino
On 10/07/2014 18:01, Michal Privoznik wrote: On 02.07.2014 15:20, Michele Paolino wrote: This patch adds the test files and the documentation for vhost-user. Signed-off-by: Michele Paolino --- docs/formatdomain.html.in | 34 +++ docs/schemas

Re: [libvirt] [PATCH 1/4] vhost-user support: domain configuration

2014-07-11 Thread Michele Paolino
On 10/07/2014 18:01, Michal Privoznik wrote: On 02.07.2014 15:20, Michele Paolino wrote: vhost-user is added as a virDomainChrSourceDefPtr variable in the virtual network interface configuration structure. This patch adds support to parse vhost-user element. The XML file looks like

Re: [libvirt] [PATCH 0/4] support for QEMU vhost-user

2014-07-08 Thread Michele Paolino
ping :) On Wed, Jul 2, 2014 at 3:20 PM, Michele Paolino < m.paol...@virtualopensystems.com> wrote: > This series adds support for the QEMU vhost-user feature to libvirt. > vhost-user enables the communication between a QEMU virtual machine > and other userspace process u

[libvirt] [PATCH 0/2] docs: hacking and formatdomain fixes

2014-07-04 Thread Michele Paolino
replaced link in haking.html.in and fixed XML tags in formatdomain.html.in Michele Paolino (2): docs: Fix broken link in the HACKING page docs: formatdomain.html fixes docs/formatdomain.html.in | 8 docs/hacking.html.in | 2 +- 2 files changed, 5 insertions(+), 5 deletions

[libvirt] [PATCH 1/2] docs: Fix broken link in the HACKING page

2014-07-04 Thread Michele Paolino
The link to the page "how to get your code into an open source project" has been fixed. Signed-off-by: Michele Paolino --- docs/hacking.html.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/hacking.html.in b/docs/hacking.html.in index 9456520..6a92f46 10

[libvirt] [PATCH 2/2] docs: formatdomain.html fixes

2014-07-04 Thread Michele Paolino
Fixed some XML tags in the formatdomain page. Signed-off-by: Michele Paolino --- docs/formatdomain.html.in | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in index 901c26a..b69da4c 100644 --- a/docs

[libvirt] [PATCH 3/4] vhost-user support: tests and docs

2014-07-02 Thread Michele Paolino
This patch adds the test files and the documentation for vhost-user. Signed-off-by: Michele Paolino --- docs/formatdomain.html.in | 34 +++ docs/schemas/domaincommon.rng | 39 ++ .../qemuxml2argv-net

[libvirt] [PATCH 0/4] support for QEMU vhost-user

2014-07-02 Thread Michele Paolino
it with Snabbswitch, it is necessary to apply the following patches (respectively from Chen Fan and Michele Paolino): http://www.redhat.com/archives/libvir-list/2014-June/msg01195.html http://www.redhat.com/archives/libvir-list/2014-June/msg01418.html It is also possible to directly checkout the

[libvirt] [PATCH 1/4] vhost-user support: domain configuration

2014-07-02 Thread Michele Paolino
vhost-user is added as a virDomainChrSourceDefPtr variable in the virtual network interface configuration structure. This patch adds support to parse vhost-user element. The XML file looks like: Signed-off-by: Michele Paolino --- src/conf/domain_conf.c | 81

[libvirt] [PATCH 2/4] vhost-user support: qemu command-line

2014-07-02 Thread Michele Paolino
Build the qemu-command line for vhost-user. Signed-off-by: Michele Paolino --- src/qemu/qemu_command.c | 58 + 1 file changed, 58 insertions(+) diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index ab8cec5..c1cf001 100644 --- a/src

[libvirt] [PATCH 4/4] vhost-user support: lxc,xenxs,uml

2014-07-02 Thread Michele Paolino
vhost-user is a qemu feature. Initial support for lxc,uml and xenxs added. Signed-off-by: Michele Paolino --- src/lxc/lxc_process.c | 1 + src/uml/uml_conf.c| 5 + src/xenxs/xen_sxpr.c | 1 + 3 files changed, 7 insertions(+) diff --git a/src/lxc/lxc_process.c b/src/lxc/lxc_process.c

[libvirt] [PATCH 2/2] Documentation and test for the share argument in memdev device

2014-06-27 Thread Michele Paolino
This patch adds documentation and test for the memdev device (type=file) share option. Signed-off-by: Michele Paolino --- docs/formatdomain.html.in | 7 +++ docs/schemas/domaincommon.rng | 3 +++ tests/qemuxml2argvdata/qemuxml2argv-cpu-numa4

[libvirt] [PATCH 1/2] Add share argument to memdev devices(type=file)

2014-06-27 Thread Michele Paolino
Add the share option in the XML parser and in the memdev domain structure. Signed-off-by: Michele Paolino --- src/conf/domain_conf.c | 16 src/conf/domain_conf.h | 1 + src/qemu/qemu_command.c | 3 +++ 3 files changed, 20 insertions(+) diff --git a/src/conf/domain_conf.c

[libvirt] [PATCH 0/2] memdev device: add share argument for type=file

2014-06-27 Thread Michele Paolino
patches[2]. We are sharing this because it is a dependency for some use cases of the qemu vhost-user support(e.g. snabbswitch). [1] http://www.redhat.com/archives/libvir-list/2014-June/msg01195.html [2] http://www.redhat.com/archives/libvir-list/2014-June/msg00201.html Michele Paolino (2): Add share

Re: [libvirt] [PATCH] qemu: add support for error messages greater than 1024 characters

2013-12-18 Thread Michele Paolino
/2013 03:33 PM, Michele Paolino wrote: In libvirt, the default error message length is 1024 bytes. This is not enough for qemu to print long error messages such as the list of supported ARM machine models (more than 1700 chars). This is raised when the machine entry in the XML file is wrong, but

Re: [libvirt] [PATCH] qemu: add support for error messages greater than 1024 characters

2013-12-16 Thread Michele Paolino
On 16/12/2013 16:00, Daniel P. Berrange wrote: On Mon, Dec 16, 2013 at 09:50:30AM -0500, Cole Robinson wrote: On 12/16/2013 04:27 AM, Laine Stump wrote: On 12/14/2013 07:15 PM, Cole Robinson wrote: On 12/11/2013 03:33 PM, Michele Paolino wrote: In libvirt, the default error message length is

Re: [libvirt] [PATCH] fix libvirt alignment on arm platforms

2013-12-13 Thread Michele Paolino
eans overwriting S.b without lock held. I have not thought of that. So NACK then - we need Eric's approach. I saw the Eric's patch. I will test it today. Michal -- *Michele Paolino*, Virtualization R&D Engineer Virtual Open Systems /Open Source KVM Virtualization

Re: [libvirt] [PATCH 00/34] network events feature v2

2013-12-12 Thread Michele Paolino
d have our base object type be nicely aligned, instead of trying to fix this in the events code (and potentially anywhere else using objects in the future). Daniel -- *Michele Paolino*, Virtualization R&D Engineer Virtual Open Systems /Open Source KVM Virtualization Developments/ /Multicore S

[libvirt] [resend] fix libvirt alignment on arm platforms

2013-12-12 Thread Michele Paolino
With the changes added by the latest commits (e.g. 8a29ffcf9aee45b61a0a12ee45c656cfd52333e8) related to "new events feature v2", we are unable to compile libvirt on ARM target (OMAP5). The error is due to alignment: conf/domain_event.c: In function 'virDomainEventDispatchDefaultFunc': conf/domain_e

Re: [libvirt] Libvirt support for KVM/ARM on armv7l hardware

2013-12-12 Thread Michele Paolino
v7l vs armv7b i doubt anything will break. Daniel -- *Michele Paolino*, Virtualization R&D Engineer Virtual Open Systems /Open Source KVM Virtualization Developments/ /Multicore Systems Virtualization Porting Services/ Web/:/www.virtualopensystems. <http://www.virtualopens

[libvirt] [PATCH] fix libvirt alignment on arm platforms

2013-12-12 Thread Michele Paolino
With the changes added by the latest commits (e.g. 8a29ffcf9aee45b61a0a12ee45c656cfd52333e8) related to "new events feature v2", we are unable to compile libvirt on ARM target (OMAP5). The error is due to alignment: conf/domain_event.c: In function 'virDomainEventDispatchDefaultFunc': conf/domain_e

[libvirt] [PATCH] qemu: add support for error messages greater than 1024 characters

2013-12-11 Thread Michele Paolino
verbose error messages. The above patch enables libvirt to print error messages >1024 for qemu. Signed-off-by: Michele Paolino --- src/qemu/qemu_process.c | 23 +++ 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_proces

Re: [libvirt] [PATCH] virSocketAddrIsWildcard: Drop IN6_IS_ADDR_UNSPECIFIED

2013-06-10 Thread Michele Paolino
> + sizeof(addr->data.inet6.sin6_addr.s6_addr)) == 0; > } > return false; > } > -- > 1.8.1.5 > > -- > libvir-list mailing list > libvir-list@redhat.com > https://www.redhat.com/mailman/listinfo/libvir-list > -- *Michele Paol

[libvirt] ARM libvirt compiling error

2013-06-03 Thread Michele Paolino
can anyone confirm this? Is it worth to submit a new bug report/patch the source? Regards, Michele -- *Michele Paolino ** *Virtual Open Systems* **Open Source KVM Virtualization Developments Multicore Systems Virtualization Porting Services *Web*:* *www.virtualopensystems.com* -- libvir-list m