[libvirt] managed save and autoboot

2010-05-18 Thread Daniel Berteaud
Hi everyone. I'm trying to auto-suspend my guests when the host shutdown using the managedsave function introduced in libvirt 0.8.0. If I manually managedsave all my guest, then manually start all of the guest with virsh start guest, everything works as expected, the saved state is restored.

Re: [libvirt] managed save and autoboot

2010-05-18 Thread Jiri Denemark
Hi, I'm trying to auto-suspend my guests when the host shutdown using the managedsave function introduced in libvirt 0.8.0. FYI, I just posted a second version of libvirt-guests init script which seems to be doing exactly the same thing... So, it looks like there's a difference in the way

Re: [libvirt] managed save and autoboot

2010-05-18 Thread Daniel P. Berrange
On Tue, May 18, 2010 at 03:15:48PM +0200, Daniel Berteaud wrote: Hi everyone. I'm trying to auto-suspend my guests when the host shutdown using the managedsave function introduced in libvirt 0.8.0. If I manually managedsave all my guest, then manually start all of the guest with virsh

Re: [libvirt] managed save and autoboot

2010-05-18 Thread Daniel Berteaud
Le mardi 18 mai 2010 à 15:36 +0200, Jiri Denemark a écrit : Hi, I'm trying to auto-suspend my guests when the host shutdown using the managedsave function introduced in libvirt 0.8.0. FYI, I just posted a second version of libvirt-guests init script which seems to be doing exactly the

Re: [libvirt] managed save and autoboot

2010-05-18 Thread Daniel Berteaud
Le mardi 18 mai 2010 à 14:40 +0100, Daniel P. Berrange a écrit : On Tue, May 18, 2010 at 03:15:48PM +0200, Daniel Berteaud wrote: So, it looks like there's a difference in the way libvirt starts guests between autoboot and a manual virsh start. Yep, there's a design bug in the way this

Re: [libvirt] managed save and autoboot

2010-05-18 Thread Daniel Berteaud
Le mardi 18 mai 2010 à 14:40 +0100, Daniel P. Berrange a écrit : On Tue, May 18, 2010 at 03:15:48PM +0200, Daniel Berteaud wrote: So, it looks like there's a difference in the way libvirt starts guests between autoboot and a manual virsh start. Yep, there's a design bug in the way this is