Re: [libvirt] [PATCH] libxl: rework reference counting

2015-06-17 Thread Anthony PERARD
On Tue, Jun 16, 2015 at 10:53:15AM +0100, Anthony PERARD wrote: On Mon, Jun 15, 2015 at 08:36:47PM -0600, Jim Fehlig wrote: Similar to commit 540c339a for the QEMU driver, rework reference counting in the libxl driver to make it more deterministic and the code a bit cleaner. Signed-off

Re: [libvirt] [PATCH] libxl: rework reference counting

2015-06-16 Thread Anthony PERARD
on and off for a few weeks now using libvirt-tck domain tests, local test scripts, and some manual tests for good measure. I sent the patch to Anthony Perard (cc'd) nearly two weeks ago for testing in his OpenStack+Xen+libvirt CI loop, although I haven't received any feedback thus far. Also

[libvirt] [PATCH] libxl: Add timestamp to the libxl driver log.

2015-06-08 Thread Anthony PERARD
Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- src/libxl/libxl_conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libxl/libxl_conf.c b/src/libxl/libxl_conf.c index 9b258ac..e845759 100644 --- a/src/libxl/libxl_conf.c +++ b/src/libxl/libxl_conf.c @@ -1541,7

Re: [libvirt] [Xen-devel] [PATCH 0/3] libxl: domain destroy fixes

2015-03-30 Thread Anthony PERARD
! -- Anthony PERARD -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] libvirt/libxl implemetation of get_online_cpu / virNodeGetCPUMap?

2015-02-24 Thread Anthony PERARD
;a=commitdiff;h=0696a5cd5f0fdc08951a074961bb8ce0c3310086 Is there a need to use this under Xen? (Is it possible to have offline CPU?). What libxl API those provide this information, if it exist? I found libxl_get_online_cpus() but that not enough. They want a bitmap. Thanks, -- Anthony PERARD

Re: [libvirt] libvirt/libxl implemetation of get_online_cpu / virNodeGetCPUMap?

2015-02-24 Thread Anthony PERARD
On Tue, Feb 24, 2015 at 01:22:19PM +, Daniel P. Berrange wrote: On Tue, Feb 24, 2015 at 01:15:57PM +, Anthony PERARD wrote: On Tue, Feb 24, 2015 at 12:46:44PM +, Daniel P. Berrange wrote: On Tue, Feb 24, 2015 at 12:41:01PM +, Anthony PERARD wrote: Hi, A recent

Re: [libvirt] libvirt/libxl implemetation of get_online_cpu / virNodeGetCPUMap?

2015-02-24 Thread Anthony PERARD
On Tue, Feb 24, 2015 at 12:46:44PM +, Daniel P. Berrange wrote: On Tue, Feb 24, 2015 at 12:41:01PM +, Anthony PERARD wrote: Hi, A recent OpenStack nova commit make use of virNodeGetCPUMap to get the list of online cpu of a host. But this API is not implemented for the libvirt

Re: [libvirt] [Xen-devel] [PATCH 0/2] libxl: fix handling of fd and timer registrations

2015-02-06 Thread Anthony PERARD
: without the patches, the tests run fine, they all succeed. with the patches, the tests fail AND libvirt became unresponsible. Running `virsh -c xen: list` does not return. (or any virsh command) I have attach a backtrace, if that can help. -- Anthony PERARD Thread 30 (Thread 0x7fa9cad9f700 (LWP

[libvirt] [PATCH V3] libxl: Set path to console on domain startup.

2015-01-15 Thread Anthony PERARD
/devices The patch intend to have the TTY path on the first call of GetXMLDesc. This is done by setting up the path at domain start up instead of in OpenConsole. https://bugzilla.redhat.com/show_bug.cgi?id=1170743 Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- Change in V3: Using

Re: [libvirt] [Xen-devel] [PATCH V2] libxl: Set path to console on domain startup.

2014-12-16 Thread Anthony PERARD
On Tue, Dec 16, 2014 at 09:30:28AM +, Ian Campbell wrote: On Mon, 2014-12-15 at 17:07 +, Anthony PERARD wrote: On Thu, Dec 11, 2014 at 04:23:15PM +, Ian Campbell wrote: On Thu, 2014-12-11 at 16:16 +, Anthony PERARD wrote: On Tue, Dec 09, 2014 at 03:56:02PM +, Ian

Re: [libvirt] [Xen-devel] [PATCH V2] libxl: Set path to console on domain startup.

2014-12-15 Thread Anthony PERARD
On Thu, Dec 11, 2014 at 04:23:15PM +, Ian Campbell wrote: On Thu, 2014-12-11 at 16:16 +, Anthony PERARD wrote: On Tue, Dec 09, 2014 at 03:56:02PM +, Ian Campbell wrote: On Tue, 2014-12-09 at 15:39 +, Anthony PERARD wrote: The path to the pty of a Xen PV console is set

Re: [libvirt] [Xen-devel] [PATCH V2] libxl: Set path to console on domain startup.

2014-12-11 Thread Anthony PERARD
On Tue, Dec 09, 2014 at 03:56:02PM +, Ian Campbell wrote: On Tue, 2014-12-09 at 15:39 +, Anthony PERARD wrote: The path to the pty of a Xen PV console is set only in virDomainOpenConsole. But this is done too late. A call to virDomainGetXMLDesc done before OpenConsole will not have

Re: [libvirt] [Xen-devel] [PATCH V2] libxl: Set path to console on domain startup.

2014-12-11 Thread Anthony PERARD
On Thu, Dec 11, 2014 at 04:23:15PM +, Ian Campbell wrote: On Thu, 2014-12-11 at 16:16 +, Anthony PERARD wrote: On Tue, Dec 09, 2014 at 03:56:02PM +, Ian Campbell wrote: On Tue, 2014-12-09 at 15:39 +, Anthony PERARD wrote: The path to the pty of a Xen PV console is set

Re: [libvirt] [PATCH] libxl: Set path to console on domain startup.

2014-12-09 Thread Anthony PERARD
On Mon, Dec 08, 2014 at 12:03:36PM -0700, Jim Fehlig wrote: Anthony PERARD wrote: The path to the pty of a Xen PV console is set only in virDomainOpenConsole. But this is done too late. A call to virDomainGetXMLDesc done before OpenConsole will not have the path to the pty, but a call

[libvirt] [PATCH V2] libxl: Set path to console on domain startup.

2014-12-09 Thread Anthony PERARD
/devices The patch intend to have the TTY path on the first call of GetXMLDesc. This is done by setting up the path at domain start up instead of in OpenConsole. https://bugzilla.redhat.com/show_bug.cgi?id=1170743 Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- Change in V2: Adding

Re: [libvirt] [Xen-devel] [PATCH] libxl: Set path to console on domain startup.

2014-12-08 Thread Anthony PERARD
On Mon, Dec 08, 2014 at 11:59:44AM +, Ian Campbell wrote: On Fri, 2014-12-05 at 16:30 +, Anthony PERARD wrote: Jim Fehlig maintains the libxl driver in libvirt, so you should CC him (I've done so here...) Thanks. The path to the pty of a Xen PV console is set only

Re: [libvirt] [PATCH] libxl: Set path to console on domain startup

2014-12-08 Thread Anthony PERARD
On Mon, Dec 08, 2014 at 04:40:04PM +0100, Ján Tomko wrote: On 12/05/2014 05:30 PM, Anthony PERARD wrote: Hi, I'm trying to fix an issue when using OpenStack with libvirt+xen (libxenlight). OpenStack cannot access the console output of a Xen PV guest, because the XML generated

[libvirt] [PATCH] libxl: Set path to console on domain startup.

2014-12-05 Thread Anthony PERARD
/devices The patch intend to get the tty path on the first call of GetXMLDesc. Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- src/libxl/libxl_domain.c | 17 + 1 file changed, 17 insertions(+) diff --git a/src/libxl/libxl_domain.c b/src/libxl/libxl_domain.c index

[libvirt] [PATCH] libxl: Set path to console on domain startup

2014-12-05 Thread Anthony PERARD
the same work if the console path is settup properly. There is a bug report about this: https://bugzilla.redhat.com/show_bug.cgi?id=1170743 Regards, Anthony PERARD (1): libxl: Set path to console on domain startup. src/libxl/libxl_domain.c | 17 + 1 file changed, 17 insertions