xl: add --clear option to dmesg command
PATCH v2 1/1 xl: add --clear option to dmesg command
From: xiliang <[email protected]>
The manual of xl says --clear option is supported and that option worked for xm. Add that to xl now.
--- tools/xl/xl_info.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
tools/xl/xl_info.c +5 -1
@@ -884,8 +884,12 @@ 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' }, +COMMON_LONG_OPTS + }; - SWITCH_FOREACH_OPT(opt, "c", NULL, "dmesg", 0) { + SWITCH_FOREACH_OPT(opt, "c", opts, "dmesg", 0) {case 'c' : clear =1 ;break ;
Signature · 7 lines
2.13.3 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Quoted 3 lines · Xiao Liang
From: xiliang <[email protected]>
The manual of xl says --clear option is supported and that option worked for xm. Add that to xl now.
I will wrap this long line to 72 columns while committing.
Quoted 2 lines
Signed-off-by xiliang <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 9 lines · Wei Liu
Quoted 3 lines · Xiao Liang
From: xiliang <[email protected]>
The manual of xl says --clear option is supported and that option worked for xm. Add that to xl now.
I will wrap this long line to 72 columns while committing.
Quoted 2 lines
Signed-off-by xiliang <[email protected]>
I was about to commit this, but I realised "xiliang" as your name seems wrong. Should it be "Xi Liang" instead?
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 6 lines · Wei Liu
Quoted 5 lines · Wei Liu
Quoted 3 lines · Xiao Liang
From: xiliang <[email protected]>
The manual of xl says --clear option is supported and that option worked for xm. Add that to xl now.
Quoted 7 lines
Quoted 4 lines
I will wrap this long line to 72 columns while committing.
Quoted 2 lines
Signed-off-by xiliang <[email protected]>I was about to commit this, but I realised "xiliang" as your name seems wrong. Should it be "Xi Liang" instead?
I think it should be "Xiao Liang" because that is what is in your email handle.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Yes, the full name is "Xiao Liang". Thanks :)
Quoted 5 lines · Wei Liu
Quoted 4 lines · Wei Liu
Quoted 3 lines · Wei Liu
Quoted 2 lines · Xiao Liang
From: xiliang <[email protected]>
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
The manual of xl says --clear option is supported and that option worked for xm. Add that to xl now.
I will wrap this long line to 72 columns while committing.
Quoted 1 line
Signed-off-by xiliang <[email protected]>I was about to commit this, but I realised "xiliang" as your name seems wrong. Should it be "Xi Liang" instead?
I think it should be "Xiao Liang" because that is what is in your email handle.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 2 lines · Xiao Liang
Yes, the full name is "Xiao Liang". Thanks :)
Cool, thanks for confirming. I will push your patch shortly.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel