[sheepdog] [PATCH v2] sheepdog: fix loadvm operation

MORITA Kazutaka morita.kazutaka at gmail.com
Thu Apr 25 10:11:04 CEST 2013


At Thu, 25 Apr 2013 12:12:58 +0800,
Liu Yuan wrote:
> 
> On 04/25/2013 12:47 AM, Liu Yuan wrote:
> > - don't break old behavior if we boot up on the snapshot by using s->reverted
> >    to indicate if we delete working VDI successfully
> 
> If we implement 'boot from snapshot' == loadvm snapshot, we don't need
> s->reverted. What do you think, Kazutaka? With this idea, qemu -hda
> sheepdog:test:id will be virtually the same as qemu -hda sheepdog:test
> -loadvm id.
> 
> I don't understand the usecase for snapshting current workding VDI and
> then restore to the specified snapshot.

Are you suggesting that booting from snapshot should discard the
current state like savevm?  If yes, it looks okay to me.

Thanks,

Kazutaka



More information about the sheepdog mailing list