Re: [Xen-devel] [PATCH v2] xl: add --clear option to dmesg command

2017-08-04 Thread Xiao Liang
Yes, the full name is "Xiao Liang". Thanks :) On 08/04/2017 07:05 PM, Wei Liu wrote: On Fri, Aug 04, 2017 at 11:57:53AM +0100, Wei Liu wrote: On Tue, Aug 01, 2017 at 05:10:27PM +0100, Wei Liu wrote: On Tue, Aug 01, 2017 at 11:57:50PM +0800, Xiao Liang wrote: From: xiliang The ma

[Xen-devel] [PATCH v2] xl: add --clear option to dmesg command

2017-08-01 Thread Xiao Liang
From: xiliang The manual of xl says --clear option is supported and that option worked for xm. Add that to xl now. Signed-off-by: xiliang --- tools/xl/xl_info.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/xl/xl_info.c b/tools/xl/xl_info.c index 94bd1fd9ab..e

[Xen-devel] [PATCH]tools: updated "xl_info.c" to accept "--clear" as parameter following "xl dmesg"

2017-08-01 Thread Xiao Liang
l/xl_info.c @@ -884,8 +884,11 @@ int main_dmesg(int argc, char **argv) libxl_xen_console_reader *cr; char *line; int opt, ret = 1; +static struct option opts[] = { +{"clear", 0, 0, 'c'} +}; -SWITCH_FOREACH_OPT(opt, "c", NULL,