mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
block: add support for partial streaming
Add support for streaming data from an intermediate section of the image chain (see patch and documentation for details). Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
019b8cbf76
commit
c8c3080f4a
3 changed files with 96 additions and 9 deletions
|
@ -328,6 +328,7 @@ void block_job_cancel(BlockJob *job);
|
|||
bool block_job_is_cancelled(BlockJob *job);
|
||||
|
||||
int stream_start(BlockDriverState *bs, BlockDriverState *base,
|
||||
BlockDriverCompletionFunc *cb, void *opaque);
|
||||
const char *base_id, BlockDriverCompletionFunc *cb,
|
||||
void *opaque);
|
||||
|
||||
#endif /* BLOCK_INT_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue