diff options
| author | zhenwei pi | 2018-11-05 04:04:56 +0100 |
|---|---|---|
| committer | Kevin Wolf | 2018-11-12 17:46:57 +0100 |
| commit | 63d5341f8553ff78ae99407ff8ad5a6648b95a30 (patch) | |
| tree | ccd824123bd654a2d1ec9097373d9f463d20a016 /scripts/switch-timer-api | |
| parent | file-posix: Use error API properly (diff) | |
| download | qemu-63d5341f8553ff78ae99407ff8ad5a6648b95a30.tar.gz qemu-63d5341f8553ff78ae99407ff8ad5a6648b95a30.tar.xz qemu-63d5341f8553ff78ae99407ff8ad5a6648b95a30.zip | |
blockdev: handle error on block latency histogram set error
Function block_latency_histogram_set may return error, but qapi ignore this.
This can be reproduced easily by qmp command:
virsh qemu-monitor-command INSTANCE '{"execute":"x-block-latency-histogram-set",
"arguments":{"device":"drive-virtio-disk1","boundaries":[10,200,40]}}'
In fact this command does not work, but we still get success result.
qmp_x_block_latency_histogram_set is a batch setting API, report error ASAP.
Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
