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.
btw, there's another bug in the managedsave function I think: it doesn't
honor the save_image_format directive in qemu.conf
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