[sheepdog] [PATCH] dog: check existence of specified snapshot in vdi_restore()

Liu Yuan namei.unix at gmail.com
Mon Oct 28 07:52:34 CET 2013


On Mon, Oct 28, 2013 at 03:32:12PM +0900, Hitoshi Mitake wrote:
> Current "dog vdi restore" doesn't check existence of specified
> snapshot. So if users specify invalid snapshot ID or tag, the parent
> VDI is simply deleted. This behavior causes serious problem. This
> patch adds the existence check for preventing it.

I think it is good time to update 041 to test 'vdi restore' on none-exist
snapshot too.

Thanks
Yuan



More information about the sheepdog mailing list