hsanjuan/OneVBox — pull request #3 by marksantos (2012-07-31 12:46:15+00:00)
Title: Fast Clone

There is a high cost involved with cloning large VDIs especially when a ssh datatransfer is involved.
(Effectively the VDI is copied 2x - once for scp and another for clonehd)

Other than copying, the primary purpose of the clone is to ensure each image has unique uuid.
VirtualBox has a more efficient method of updating the uuid which we can utilize here.

[ Note - we currently still need to check the FileType of the src disk to give us a hint that the specified disk is an actual VDI -- and not for example, the context image ]