On 06/17/2011 03:36 AM, Kevin Wolf wrote:
Am 16.06.2011 16:52, schrieb Marcelo Tosatti:
On Thu, Jun 16, 2011 at 03:08:30PM +0200, Kevin Wolf wrote:
Over this scheme, you'd have:
1) Block copy.
Reopen image to be copied with
blkstream:/path/to/current-image:/path/to/destination-image,
background read sectors 0...N.
2) Image stream:
blkstream:remote-image:/path/to/local-image,
background read sectors 0...N.
Where remote-image is remote accessible image such as NBD.
I think that should work.
By the way, we'll get problems with the colon syntax. Without -blockdev
we'll have to invent a new syntax, maybe with brackets:
blkstream:[nbd:localhost]:out.qcow2
So what's the main issue with -blockdev today? Just need someone to
spend some time implementing it?
Also, it would be a useful exercise to try and capture some of this in
the wiki. That makes it a bit easier to reference as we move forward.
Regards,
Anthony Liguori
Kevin