mirror of
https://github.com/mii443/qemu.git
synced 2025-12-16 17:18:49 +00: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:
committed by
Kevin Wolf
parent
370521a1d6
commit
fb5458cd10
@@ -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 = "",
|
||||
|
||||
Reference in New Issue
Block a user