Re: [Qemu-devel] [PATCH v3] Sort the help info shown in monitor at runtime

2011-11-01 Thread Anthony Liguori
On 10/11/2011 10:32 PM, Wayne Xia wrote: 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

Re: [Qemu-devel] [PATCH v3] Sort the help info shown in monitor at runtime

2011-10-12 Thread Wenyi Gao
On Wed, 2011-10-12 at 11:32 +0800, Wayne Xia wrote: 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

[Qemu-devel] [PATCH v3] Sort the help info shown in monitor at runtime

2011-10-11 Thread Wayne Xia
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