[libvirt] [PATCH] maint: update to latest gnulib

2014-01-01 Thread Eric Blake
'make syntax-check' wants a newer gnulib for 2014 copyright. Also, a couple of fixes for bootstrap issues reported on IRC: - on some older glibc systems, ./configure could deadlock due to a glibc malloc bug - on FreeBSD systems, a broken autom4te coupled with gettext 0.18.3 prevents bootstrap; we

[libvirt] [PATCH] aarch64: Disable -fstack-protector.

2014-01-01 Thread Richard W.M. Jones
From: Richard W.M. Jones rjo...@redhat.com I'm using gcc-4.8.2-7.fc21.aarch64 which does not appear to support this option. --- m4/virt-compile-warnings.m4 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/m4/virt-compile-warnings.m4 b/m4/virt-compile-warnings.m4 index 1547e03..574fbc4

[libvirt] Jenkins build is back to normal : libvirt-syntax-check #1805

2014-01-01 Thread Jenkins CI
See http://honk.sigxcpu.org:8001/job/libvirt-syntax-check/1805/ -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [PATCH] aarch64: Disable -fstack-protector.

2014-01-01 Thread Eric Blake
On 01/01/2014 06:42 AM, Richard W.M. Jones wrote: From: Richard W.M. Jones rjo...@redhat.com I'm using gcc-4.8.2-7.fc21.aarch64 which does not appear to support this option. --- m4/virt-compile-warnings.m4 | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [libvirt] [PATCH] aarch64: Disable -fstack-protector.

2014-01-01 Thread Richard W.M. Jones
On Wed, Jan 01, 2014 at 06:52:09AM -0700, Eric Blake wrote: On 01/01/2014 06:42 AM, Richard W.M. Jones wrote: From: Richard W.M. Jones rjo...@redhat.com I'm using gcc-4.8.2-7.fc21.aarch64 which does not appear to support this option. --- m4/virt-compile-warnings.m4 | 3 +++ 1

[libvirt] FYI: aarch64 test suite failures

2014-01-01 Thread Richard W.M. Jones
Libvirt compiles fine on aarch64. You will need to configure with --without-dtrace as systemtap tracepoints are pretty broken, giving lots of strange compile-time errors/link failures in both libvirt and qemu. The test suite fails, see attachment. Note this is all running under qemu-arm64

Re: [libvirt] FYI: aarch64 test suite failures

2014-01-01 Thread Richard W.M. Jones
On Wed, Jan 01, 2014 at 02:51:30PM +, Richard W.M. Jones wrote: In particular, any aarch64 binary which the test suite runs is actually run under the qemu-arm64 interpreter (using binfmt). I'm guessing this explains the extra file descriptor in some tests. More precisely, qemu opens a

Re: [libvirt] FYI: aarch64 test suite failures

2014-01-01 Thread Richard W.M. Jones
On Wed, Jan 01, 2014 at 02:51:30PM +, Richard W.M. Jones wrote: FAIL: sysinfotest = TEST: sysinfotest 1) aarch64 sysinfo ... Offset 0 Expect [sysinfo type='smbios' /sysinfo ] Actual [sysinfo type='smbios'

[libvirt] [PATCH 2/3] tests: sysinfotest: Actual/expected were swapped in error message.

2014-01-01 Thread Richard W.M. Jones
From: Richard W.M. Jones rjo...@redhat.com --- tests/sysinfotest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sysinfotest.c b/tests/sysinfotest.c index 8357701..c8675f9 100644 --- a/tests/sysinfotest.c +++ b/tests/sysinfotest.c @@ -83,7 +83,7 @@ testSysinfo(const

[libvirt] [PATCH 3/3] aarch64: Fix sysinfo test.

2014-01-01 Thread Richard W.M. Jones
From: Richard W.M. Jones rjo...@redhat.com On AArch64 the kernel prints one processor (lower case 'p') line per core. As this was missing from the test data, virSysinfo was not parsing any processors at all. Fix the test data so the test now passes. --- tests/sysinfodata/aarch64cpuinfo.data

[libvirt] [PATCH 1/3] tests: virnetsockettest: Print the error if getifaddrs fails.

2014-01-01 Thread Richard W.M. Jones
From: Richard W.M. Jones rjo...@redhat.com --- tests/virnetsockettest.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/virnetsockettest.c b/tests/virnetsockettest.c index eda95bc..82c202e 100644 --- a/tests/virnetsockettest.c +++ b/tests/virnetsockettest.c @@ -60,8

Re: [libvirt] FYI: aarch64 test suite failures

2014-01-01 Thread Richard W.M. Jones
On Wed, Jan 01, 2014 at 03:34:33PM +, Richard W.M. Jones wrote: On Wed, Jan 01, 2014 at 02:51:30PM +, Richard W.M. Jones wrote: FAIL: sysinfotest = In fact, since this test is entirely test-data-driven, why does the test contain arch-specific sections at all? Rich.

Re: [libvirt] [PATCH 1/3] tests: virnetsockettest: Print the error if getifaddrs fails.

2014-01-01 Thread Eric Blake
On 01/01/2014 08:49 AM, Richard W.M. Jones wrote: From: Richard W.M. Jones rjo...@redhat.com --- tests/virnetsockettest.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/virnetsockettest.c b/tests/virnetsockettest.c index eda95bc..82c202e 100644 ---

Re: [libvirt] [PATCH 2/3] tests: sysinfotest: Actual/expected were swapped in error message.

2014-01-01 Thread Eric Blake
On 01/01/2014 08:49 AM, Richard W.M. Jones wrote: From: Richard W.M. Jones rjo...@redhat.com --- tests/sysinfotest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sysinfotest.c b/tests/sysinfotest.c index 8357701..c8675f9 100644 --- a/tests/sysinfotest.c +++

Re: [libvirt] [PATCH 3/3] aarch64: Fix sysinfo test.

2014-01-01 Thread Eric Blake
On 01/01/2014 08:49 AM, Richard W.M. Jones wrote: From: Richard W.M. Jones rjo...@redhat.com On AArch64 the kernel prints one processor (lower case 'p') line per core. As this was missing from the test data, virSysinfo was not parsing any processors at all. Fix the test data so the test

[libvirt] Build failed in Jenkins: libvirt-syntax-check #1807

2014-01-01 Thread Jenkins CI
See http://honk.sigxcpu.org:8001/job/libvirt-syntax-check/1807/ -- Started by upstream project libvirt-build build number 2016 Building on master in workspace http://honk.sigxcpu.org:8001/job/libvirt-syntax-check/ws/ [workspace] $ /bin/sh -xe

Re: [libvirt] [PATCH 1/3] tests: virnetsockettest: Print the error if getifaddrs fails.

2014-01-01 Thread Eric Blake
On 01/01/2014 09:24 AM, Eric Blake wrote: On 01/01/2014 08:49 AM, Richard W.M. Jones wrote: From: Richard W.M. Jones rjo...@redhat.com --- tests/virnetsockettest.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/virnetsockettest.c b/tests/virnetsockettest.c

[libvirt] [PATCH] test: share state driver between test:///default connections

2014-01-01 Thread Eric Blake
Prior to this patch, every test:/// URI has its own event manager, which means that registering for an event can only ever receive events from the connection where it issued the API that triggered the event. But the whole idea of events is to be able to learn about something where an API call did

[libvirt] Jenkins build is back to normal : libvirt-syntax-check #1808

2014-01-01 Thread Jenkins CI
See http://honk.sigxcpu.org:8001/job/libvirt-syntax-check/1808/ -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] [PATCHv2] test: share state driver between test:///default connections

2014-01-01 Thread Eric Blake
Prior to this patch, every test:/// URI has its own event manager, which means that registering for an event can only ever receive events from the connection where it issued the API that triggered the event. But the whole idea of events is to be able to learn about something where an API call did

Re: [libvirt] [PATCH] test: share state driver between test:///default connections

2014-01-01 Thread Eric Blake
On 01/01/2014 09:54 AM, Eric Blake wrote: Prior to this patch, every test:/// URI has its own event manager, which means that registering for an event can only ever receive events from the connection where it issued the API that triggered the event. But the whole idea of events is to be able

Re: [libvirt] libvirt live modify

2014-01-01 Thread Michal Novotny
Hi Umar, please contact libvirt guys for python bindings. Python bindings for libvirt are not handled by me, I handle just the PHP bindings and I'm not aware of the function support in the Python bindings. Happy New Year! Thanks, Michal - Original Message - From: Umar Draz

[libvirt] help debugging event timing

2014-01-01 Thread Eric Blake
In my recent work on events, I'm running into something where I'm stumped on timing behavior. I'm using virEventRegisterDefaultImpl()/virEventRunDefaultImpl() as my event loop, and trying to test that an event is firing correctly. With the test:///default (or any other local URI), if I register

Re: [libvirt] [PATCH] event: improve public API docs

2014-01-01 Thread Eric Blake
On 12/31/2013 08:21 AM, Eric Blake wrote: Since libvirt 0.9.3, the entire virevent.c file has been a public API, so improve the documentation in this file. Also, fix a potential core dump - it could only be triggered by bogus use of the API and would only affect the caller (not libvirtd), but

[libvirt] How to execute an initial script in a container to start the network interface automatically

2014-01-01 Thread WANG Cheng D
Dear All, Happy new year to you. I have a similar question which had been replied by Daniel in the following post: http://www.redhat.com/archives/libvir-list/2010-March/msg00296.html I also want to assign a static IP to the container. As Daniel said, I can successfully assign a static IP to