qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 2/8] qmp: Add QMP support for stream commands


From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH 2/8] qmp: Add QMP support for stream commands
Date: Fri, 29 Apr 2011 14:09:52 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Fedora/3.0.10-1.fc12 Thunderbird/3.0.10

Am 27.04.2011 15:27, schrieb Stefan Hajnoczi:
> From: Anthony Liguori <address@hidden>
> 
> For leaf images with copy on read semantics, the stream commands allow the 
> user
> to populate local blocks by manually streaming them from the backing image.
> Once all blocks have been streamed, the dependency on the original backing
> image can be removed.  Therefore, stream commands can be used to implement
> post-copy live block migration and rapid deployment.
> 
> The stream command can be used to stream a single sector, to start streaming
> the entire device, and to cancel an active stream.  It is easiest to allow the
> stream command to manage streaming for the entire device but a managent tool
> could use single sector mode to throttle the I/O rate.  When a single sector 
> is
> streamed, the command returns an offset that can be used for a subsequent 
> call.

You mean literally single sectors? You're not interested in completing
the job in finite time, are you? ;-)

I would suggest adding a length argument for the all=false case, so that
management tools can choose more reasonable sizes.

Kevin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]