Re: [libvirt] Re: [PATCH/RFC] kvm/qemu vs libvirtd restarts

2008-12-04 Thread Daniel Veillard
On Wed, Dec 03, 2008 at 06:20:12PM +0100, Guido Günther wrote: On Sun, Nov 30, 2008 at 12:43:48PM +0100, Guido Günther wrote: From 87db4a698ed9b49294c0f94137fc6beef13bd4e8 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Guido=20G=C3=BCnther?= [EMAIL PROTECTED] Date: Tue, 25 Nov 2008 13:02:43 +0100

Re: [libvirt] Re: [PATCH/RFC] kvm/qemu vs libvirtd restarts

2008-12-04 Thread Daniel P. Berrange
On Wed, Dec 03, 2008 at 06:20:12PM +0100, Guido G?nther wrote: On Sun, Nov 30, 2008 at 12:43:48PM +0100, Guido Günther wrote: From 87db4a698ed9b49294c0f94137fc6beef13bd4e8 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Guido=20G=C3=BCnther?= [EMAIL PROTECTED] Date: Tue, 25 Nov 2008 13:02:43 +0100

Re: [libvirt] Re: [PATCH/RFC] kvm/qemu vs libvirtd restarts

2008-12-04 Thread Guido Günther
On Thu, Dec 04, 2008 at 10:56:25AM +, Daniel P. Berrange wrote: On Wed, Dec 03, 2008 at 06:20:12PM +0100, Guido G?nther wrote: On Sun, Nov 30, 2008 at 12:43:48PM +0100, Guido Günther wrote: From 87db4a698ed9b49294c0f94137fc6beef13bd4e8 Mon Sep 17 00:00:00 2001 From:

Re: [libvirt] Re: [PATCH/RFC] kvm/qemu vs libvirtd restarts

2008-12-03 Thread Guido Günther
On Sun, Nov 30, 2008 at 12:43:48PM +0100, Guido Günther wrote: From 87db4a698ed9b49294c0f94137fc6beef13bd4e8 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Guido=20G=C3=BCnther?= [EMAIL PROTECTED] Date: Tue, 25 Nov 2008 13:02:43 +0100 Subject: [PATCH] differentiate between active and inactive

Re: [libvirt] Re: [PATCH/RFC] kvm/qemu vs libvirtd restarts

2008-11-30 Thread Guido Günther
On Wed, Nov 26, 2008 at 08:54:40PM +, Daniel P. Berrange wrote: [..snip..] Hmm, interesting idea - we already have a variant for parsing based off an arbitrary XML node, rather than assuming the root, virDomainDefPtr virDomainDefParseNode(virConnectPtr conn,

Re: [libvirt] Re: [PATCH/RFC] kvm/qemu vs libvirtd restarts

2008-11-26 Thread Daniel P. Berrange
On Tue, Nov 25, 2008 at 10:16:35PM +0100, Guido G?nther wrote: Finally got around to have another look at qemu/kvm surviving libvirt restarts: On Tue, Oct 07, 2008 at 05:37:52PM +0100, Daniel P. Berrange wrote: diff --git a/src/domain_conf.h b/src/domain_conf.h index 632e5ad..1ac1561

Re: [libvirt] Re: [PATCH/RFC] kvm/qemu vs libvirtd restarts

2008-11-25 Thread Guido Günther
Finally got around to have another look at qemu/kvm surviving libvirt restarts: On Tue, Oct 07, 2008 at 05:37:52PM +0100, Daniel P. Berrange wrote: diff --git a/src/domain_conf.h b/src/domain_conf.h index 632e5ad..1ac1561 100644 --- a/src/domain_conf.h +++ b/src/domain_conf.h @@ -448,6

[libvirt] Re: [PATCH/RFC] kvm/qemu vs libvirtd restarts

2008-10-10 Thread Guido Günther
On Tue, Oct 07, 2008 at 05:37:52PM +0100, Daniel P. Berrange wrote: [..snip..] This also needs to be implemented with the assumption that the daemon can will crash any time. So putting the state-saving hooks into the qemudShutdown() method won't be sufficient. We need to write out the state

[libvirt] Re: [PATCH/RFC] kvm/qemu vs libvirtd restarts

2008-10-10 Thread Daniel P. Berrange
On Fri, Oct 10, 2008 at 05:35:04PM +0200, Guido G?nther wrote: On Tue, Oct 07, 2008 at 05:37:52PM +0100, Daniel P. Berrange wrote: [..snip..] This also needs to be implemented with the assumption that the daemon can will crash any time. So putting the state-saving hooks into the

[libvirt] Re: [PATCH/RFC] kvm/qemu vs libvirtd restarts

2008-10-07 Thread Daniel P. Berrange
Moving thread to libvir-list On Tue, Oct 07, 2008 at 06:12:33PM +0200, Guido G?nther wrote: On Fri, Sep 26, 2008 at 04:47:05PM +0100, Daniel P. Berrange wrote: On Fri, Sep 26, 2008 at 05:41:02PM +0200, Guido G?nther wrote: We've got this problem sorted in the 'lxc' driver and need to