stream: Add 'job-id' parameter to 'block-stream'
authorAlberto Garcia <berto@igalia.com>
Tue, 5 Jul 2016 14:28:59 +0000 (17:28 +0300)
committerKevin Wolf <kwolf@redhat.com>
Wed, 13 Jul 2016 11:26:02 +0000 (13:26 +0200)
commit2323322ed060749b52864836f6fcb1a906baf95d
treeb3aef48741124824392940ecd611e585a5398349
parent70559d499c84b9c7b1874821f970a15d52460d64
stream: Add 'job-id' parameter to 'block-stream'

This patch adds a new optional 'job-id' parameter to 'block-stream',
allowing the user to specify the ID of the block job to be created.

The HMP 'block_stream' command remains unchanged.

Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/stream.c
blockdev.c
hmp.c
include/block/block_int.h
qapi/block-core.json
qmp-commands.hx