Skip to content
Commit 816f8925 authored by Wayne Xia's avatar Wayne Xia Committed by Anthony Liguori
Browse files

Sort the help info shown in monitor at runtime



This patch would try sort the command list in monitor at runtime. As a result,
command help and help info would show a more friendly sorted command list.
For eg:
(qemu)help
acl_add
acl_policy
acl_remove
acl_reset
acl_show
balloon
block_passwd
...
the command list is sorted.

v3: using qsort function to sort the command list.

Tested-by: default avatarWenyi Gao <wenyi@linux.vnet.ibm.com>
Signed-off-by: default avatarWayne Xia <xiawenc@linux.vnet.ibm.com>
Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
parent 22844510
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment