diff options
author | Wayne Xia | 2011-10-12 05:32:41 +0200 |
---|---|---|
committer | Anthony Liguori | 2011-11-01 22:52:08 +0100 |
commit | 816f89256ef36c8fd20e70ac393110cf2322e223 (patch) | |
tree | 3b879a2a91284e532f33b42c680bf96fbcaa8ff4 /hw/pcnet.c | |
parent | event_notifier: move to top-level directory (diff) | |
download | qemu-816f89256ef36c8fd20e70ac393110cf2322e223.tar.gz qemu-816f89256ef36c8fd20e70ac393110cf2322e223.tar.xz qemu-816f89256ef36c8fd20e70ac393110cf2322e223.zip |
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: Wenyi Gao <wenyi@linux.vnet.ibm.com>
Signed-off-by: Wayne Xia <xiawenc@linux.vnet.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/pcnet.c')
0 files changed, 0 insertions, 0 deletions