Re: [libvirt] [PATCH 1/5] Public API for new virInterface* functions, which facilitate

2009-05-20 Thread Daniel Veillard
On Tue, May 19, 2009 at 12:51:23PM -0400, Laine Stump wrote: From: Laine Stump la...@redhat.com --- include/libvirt/libvirt.h| 50 ++ include/libvirt/libvirt.h.in | 50 ++ Looks just fine now, ACK,

Re: [libvirt] [PATCH 2/5] First level of plumbing for virInterface*.

2009-05-20 Thread Daniel Veillard
On Tue, May 19, 2009 at 12:51:24PM -0400, Laine Stump wrote: From: Laine Stump la...@redhat.com Okay, looks fine too, ACK, Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/

Re: [libvirt] [PATCH 5/5] Use pkg_config in configure.in to detect presence of libnetcf and

2009-05-20 Thread Daniel Veillard
On Tue, May 19, 2009 at 12:51:27PM -0400, Laine Stump wrote: From: Laine Stump la...@redhat.com Looks fine, ACK ! Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ |

Re: [libvirt] [PATCH 4/5] Publish the new Interface config API beginning with 0.6.4.

2009-05-20 Thread Daniel Veillard
On Tue, May 19, 2009 at 12:51:26PM -0400, Laine Stump wrote: --- src/libvirt_public.syms | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) ACK, Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ dan...@veillard.com | Rpmfind

Re: [libvirt] [PATCH] lxc: use new error code in lxcDomainUndefine

2009-05-20 Thread Daniel Veillard
On Tue, May 19, 2009 at 05:39:51PM -0400, Amy Griffis wrote: Update lxcDomainUndefine() to use VIR_ERR_INVALID_OPERATION instead of VIR_ERR_INTERNAL_ERROR. Makes sense, applied and commited ! thanks, and welcome :-) Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit

Re: [libvirt] kvm migration

2009-05-20 Thread Chris Lalancette
Łukasz Mierzwa wrote: Dnia wtorek 19 maj 2009 o 22:20:06 Daniel P. Berrange napisał(a): On Tue, May 19, 2009 at 09:29:15PM +0200, ??ukasz Mierzwa wrote: Hi, can someone explain me how migration works in libvirt? I got 2 machines with ubuntu 9.04 (libvirt 0.6.1 and kvm 84), disk images are

Re: [libvirt] PATCH: 4/5: The hard QEMU implementation

2009-05-20 Thread Daniel Veillard
On Tue, May 19, 2009 at 06:44:13PM +0100, Daniel P. Berrange wrote: On Wed, May 13, 2009 at 06:53:44PM +0200, Daniel Veillard wrote: On Wed, May 13, 2009 at 03:40:54PM +0100, Daniel P. Berrange wrote: This provides the QEMU driver implementation which is able to convert from QEMU argv

Re: [libvirt] [RFC][PATCH] lxc: fix for ns cgroups subsystem

2009-05-20 Thread Daniel Veillard
On Wed, May 20, 2009 at 12:27:58AM +0900, Ryota Ozaki wrote: Apologies for not responding. I've come down with a cold (not flu) for several days... On Tue, May 19, 2009 at 10:34 PM, Daniel Veillard veill...@redhat.com wrote: [...]  Just to make sure, this is not ready, right ? We freeze

Re: [libvirt] kvm migration

2009-05-20 Thread Łukasz Mierzwa
2009/5/20 Chris Lalancette clala...@redhat.com Łukasz Mierzwa wrote: Dnia wtorek 19 maj 2009 o 22:20:06 Daniel P. Berrange napisał(a): On Tue, May 19, 2009 at 09:29:15PM +0200, ??ukasz Mierzwa wrote: Hi, can someone explain me how migration works in libvirt? I got 2 machines with

Re: [libvirt] Works: libvirt client on OS X 10.5.6

2009-05-20 Thread Daniel Veillard
On Fri, May 08, 2009 at 08:19:40AM -0500, Schley Andrew Kutz wrote: Happy to do it, I just need permission to put a file there. Additionally, you can grab the binaries at http://files.lostcreations.com/libvirt-0.6.3-bin.tar.gz and

Re: [libvirt] kvm migration

2009-05-20 Thread Chris Lalancette
Łukasz Mierzwa wrote: So if I want my guest to be undefined from the source host and stay on target host I need to define him on target host before migration? Some info in 'virsh help migrate' would be nice, and maybe '--persistent' option to auto-define it

[libvirt] [PATCH]: Add a flag to let live migration be persistent

2009-05-20 Thread Chris Lalancette
As pointed out by Łukasz Mierzwa l.mier...@gmail.com, it would be nice if there was an option to automatically make a domain persistent on the destination during a live migration. The attached patch adds this simple capability. Note that this has to be applied on top of my previous secure

Re: [libvirt] [PATCH]: Add a flag to let live migration be persistent

2009-05-20 Thread Daniel Veillard
On Wed, May 20, 2009 at 11:15:14AM +0200, Chris Lalancette wrote: As pointed out by Łukasz Mierzwa l.mier...@gmail.com, it would be nice if there was an option to automatically make a domain persistent on the destination during a live migration. The attached patch adds this simple

Re: [libvirt] PATCH: Test the QEMU argv - XML convertor

2009-05-20 Thread Daniel Veillard
On Tue, May 19, 2009 at 06:47:00PM +0100, Daniel P. Berrange wrote: This patch adds a test case which validates the argv - XML convertor for QEMU. This re-uses the existing XML data files from the XML - argv test. This has a few complications though because we can't roundtrip all the data. So

Re: [libvirt] [PATCH]: Add a flag to let live migration be persistent

2009-05-20 Thread Daniel P. Berrange
On Wed, May 20, 2009 at 12:06:34PM +0200, Daniel Veillard wrote: On Wed, May 20, 2009 at 11:15:14AM +0200, Chris Lalancette wrote: As pointed out by ??ukasz Mierzwa l.mier...@gmail.com, it would be nice if there was an option to automatically make a domain persistent on the destination

Re: [libvirt] [PATCH 1/2] (Updated fixed) OpenNebula driver, libvirt-0.6.2

2009-05-20 Thread Daniel P. Berrange
On Wed, Apr 22, 2009 at 05:03:41PM +0200, Abel M?guez Rodr?guez wrote: Hi all, Here is the One driver patches for the current git's master commit 9e9527 - Remove stale QEMU pidfiles. [PATCH 1/2] Patch to be applied to libvirt-0.6.2 sources and building files. [PATCH 2/2] Driver source

Re: [libvirt] [PATCH]: Add a flag to let live migration be persistent

2009-05-20 Thread Chris Lalancette
Daniel P. Berrange wrote: On Wed, May 20, 2009 at 12:06:34PM +0200, Daniel Veillard wrote: On Wed, May 20, 2009 at 11:15:14AM +0200, Chris Lalancette wrote: As pointed out by ??ukasz Mierzwa l.mier...@gmail.com, it would be nice if there was an option to automatically make a domain persistent

Re: [libvirt] [PATCH]: Add a flag to let live migration be persistent

2009-05-20 Thread Daniel Veillard
On Wed, May 20, 2009 at 11:15:13AM +0100, Daniel P. Berrange wrote: On Wed, May 20, 2009 at 12:06:34PM +0200, Daniel Veillard wrote: On Wed, May 20, 2009 at 11:15:14AM +0200, Chris Lalancette wrote: As pointed out by ??ukasz Mierzwa l.mier...@gmail.com, it would be nice if there was

Re: [libvirt] [PATCH 1/2] (Updated fixed) OpenNebula driver, libvirt-0.6.2

2009-05-20 Thread Daniel Veillard
On Wed, May 20, 2009 at 11:32:18AM +0100, Daniel P. Berrange wrote: On Wed, Apr 22, 2009 at 05:03:41PM +0200, Abel M?guez Rodr?guez wrote: Hi all, Here is the One driver patches for the current git's master commit 9e9527 - Remove stale QEMU pidfiles. [PATCH 1/2] Patch to be

Re: [libvirt] [PATCH]: Add a flag to let live migration be persistent

2009-05-20 Thread Daniel Veillard
On Wed, May 20, 2009 at 01:10:36PM +0200, Chris Lalancette wrote: Daniel P. Berrange wrote: I think there is an argument for adding an explicit API virDomainIsPersistent(virDomainPtr) to allow an app to determine whether it has a config or not. Even if the mgmt tool did not set

Re: [libvirt] [PATCH] cleanup of direct stderr logging

2009-05-20 Thread Daniel P. Berrange
On Tue, May 19, 2009 at 05:40:15PM +0200, Daniel Veillard wrote: In a number of places we still had direct output of logs, warnings or errors, instead of using the existing error and logging infrastructure. This patches tries to clean this up, It all looks good side from a couple bits which

Re: [libvirt] [PATCH 1/5] Public API for new virInterface* functions, which facilitate

2009-05-20 Thread Daniel P. Berrange
On Tue, May 19, 2009 at 12:51:23PM -0400, Laine Stump wrote: From: Laine Stump la...@redhat.com --- include/libvirt/libvirt.h| 50 ++ include/libvirt/libvirt.h.in | 50 ++ 2 files changed, 100

Re: [libvirt] [PATCH 4/5] Publish the new Interface config API beginning with 0.6.4.

2009-05-20 Thread Daniel P. Berrange
On Tue, May 19, 2009 at 12:51:26PM -0400, Laine Stump wrote: --- src/libvirt_public.syms | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/src/libvirt_public.syms b/src/libvirt_public.syms index 0ea130f..9ad73f3 100644 --- a/src/libvirt_public.syms

Re: [libvirt] [PATCH 5/5] Use pkg_config in configure.in to detect presence of libnetcf and

2009-05-20 Thread Daniel P. Berrange
On Tue, May 19, 2009 at 12:51:27PM -0400, Laine Stump wrote: From: Laine Stump la...@redhat.com --- configure.in| 35 --- src/Makefile.am |5 + 2 files changed, 37 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index

Re: [libvirt] [PATCH 2/5] First level of plumbing for virInterface*.

2009-05-20 Thread Daniel P. Berrange
On Tue, May 19, 2009 at 12:51:24PM -0400, Laine Stump wrote: From: Laine Stump la...@redhat.com --- include/libvirt/virterror.h |4 + src/datatypes.h | 25 ++ src/driver.h| 60 + src/libvirt.c | 607

Re: [libvirt] Hyper-V driver advise request

2009-05-20 Thread Daniel P. Berrange
On Tue, May 19, 2009 at 04:56:32PM +0200, Matthias Bolte wrote: Hello, I mentioned Hyper-V in my last mail. We are currently investigating Hyper-V support for libvirt. Basically there seem to be two options: - use the DCE/RPC library from the Samba project for Hyper-V's WMI protocol IIUC,

Re: [libvirt] VMware ESX driver announcement

2009-05-20 Thread Daniel P. Berrange
On Tue, May 19, 2009 at 04:52:04PM +0200, Matthias Bolte wrote: Hello, I'm participate in a project of the Paderborn Center for Parallel Computing, an institute of the University of Paderborn: http://pc2.uni-paderborn.de The project's goal is to use virtualization in a supercomputer

Re: [libvirt] Works: libvirt client on OS X 10.5.6

2009-05-20 Thread Daniel Veillard
On Wed, May 20, 2009 at 07:40:43AM -0500, Schley Andrew Kutz wrote: I will create a specific sub-dir and let you know. okay thanks, any feedback on the two other issues ? On Thu, May 07, 2009 at 11:50:25PM -0500, Schley Andrew Kutz wrote: - Set environment variables: export

Re: [libvirt] [PATCH] cleanup of direct stderr logging

2009-05-20 Thread Daniel Veillard
On Wed, May 20, 2009 at 12:40:36PM +0100, Daniel P. Berrange wrote: On Tue, May 19, 2009 at 05:40:15PM +0200, Daniel Veillard wrote: In a number of places we still had direct output of logs, warnings or errors, instead of using the existing error and logging infrastructure. This patches

Re: [libvirt] [PATCH 1/2] (Updated fixed) OpenNebula driver, libvirt-0.6.2

2009-05-20 Thread Abel Míguez Rodríguez
On Wed, May 20, 2009 at 11:32:18AM +0100, Daniel P. Berrange wrote: On Wed, Apr 22, 2009 at 05:03:41PM +0200, Abel M?guez Rodr?guez wrote: Hi all, Here is the One driver patches for the current git's master commit 9e9527 - Remove stale QEMU pidfiles. [PATCH 1/2] Patch to

Re: [libvirt] [PATH 0/5] CORRECTED - Interface Config Public APIs and remote stubs, with MAC addresses in string format

2009-05-20 Thread Daniel Veillard
On Tue, May 19, 2009 at 12:51:22PM -0400, Laine Stump wrote: MY APOLOGIES! Yesterday I accidentally sent the old patchset rather than the corrected set. This time it's right. These patches are based on those I sent last week (the public virInterface*() API definition, the local plumbing,

[libvirt] Incomplete cleanup in storage backend for physical disks?

2009-05-20 Thread Henrik Persson E
Hi all, I have some questions related to the storage backend for physical disks. If I try to create a new storage pool connected to a physical disk that doesn't have a partition table I get the following error messages: error: Failed to create pool from /root/physical_disk_pool.xml error:

[libvirt] FIXED - [PATCH 4/5] Publish the new Interface config API beginning with 0.6.4.

2009-05-20 Thread Laine Stump
Here you go. I anticipated that would happen, but then forgot to check for it after I rebased. --- src/libvirt_public.syms | 19 +-- 1 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/libvirt_public.syms b/src/libvirt_public.syms index 0ea130f..3ad5065 100644

[libvirt] [PATCH 1/1] fixed the event-test.c example to check for return values

2009-05-20 Thread Pritesh Kothari
Hi All, The event-test.c example doesn't check for the return values while registering for the callbacks, this patch just checks for them along with a correcting a small typo. (Unpaused = Paused) Regards, Pritesh commit e646e55c4167572a8b345f99d9beaac4fa5ca538 Author: pk221555

[libvirt] PATCH: Impl python bindings for virInterface

2009-05-20 Thread Daniel P. Berrange
We forgot that adding the virInterface APIs would break the build of the python bindings. Here is the patch to wire up the code generator for the new APIs. This is actually surprisingly easy, since we ditched the raw unsigned char MAC address APIs, no special cases were needed. Daniel Index:

Re: [libvirt] Incomplete cleanup in storage backend for physical disks?

2009-05-20 Thread Daniel P. Berrange
On Wed, May 20, 2009 at 04:38:08PM +0200, Henrik Persson E wrote: Hi all, I have some questions related to the storage backend for physical disks. If I try to create a new storage pool connected to a physical disk that doesn't have a partition table I get the following error messages:

Re: [libvirt] Hyper-V driver advise request

2009-05-20 Thread Matthias Bolte
2009/5/20 Daniel P. Berrange berra...@redhat.com: On Tue, May 19, 2009 at 04:56:32PM +0200, Matthias Bolte wrote: Hello, I mentioned Hyper-V in my last mail. We are currently investigating Hyper-V support for libvirt. Basically there seem to be two options: - use the DCE/RPC library from