mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
qmp: add query-block-jobs
Add query-block-jobs, which shows the progress of ongoing block device operations. Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Acked-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
370521a1d6
commit
fb5458cd10
6 changed files with 115 additions and 0 deletions
|
|
@ -2317,6 +2317,13 @@ static mon_cmd_t info_cmds[] = {
|
|||
.help = "show block device statistics",
|
||||
.mhandler.info = hmp_info_blockstats,
|
||||
},
|
||||
{
|
||||
.name = "block-jobs",
|
||||
.args_type = "",
|
||||
.params = "",
|
||||
.help = "show progress of ongoing block device operations",
|
||||
.mhandler.info = hmp_info_block_jobs,
|
||||
},
|
||||
{
|
||||
.name = "registers",
|
||||
.args_type = "",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue