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 implemented in the QEMU driver.
The code that restores the snapshot is in the qemudDomainStart() method,
rather than qemudStartVMDaemon(). This means that when the guest is
autostarted, the snapshot restore is missed.
Ok, thanks for the clarification. I'll try to look at this, but I don't
think I'll be able to fixe anything ;) so I'll wait a little more.
Regards, Daniel
--
Daniel Berteaud
FIREWALL-SERVICES SARL.
Société de Services en Logiciels Libres
Technopôle Montesquieu
33650 MARTILLAC
Tel : 05 56 64 15 32
Fax : 05 56 64 15 32
Mail: daniel(a)firewall-services.com
Web :
http://www.firewall-services.com