From: Ian Jackson Date: Fri, 17 Jul 2015 17:00:48 +0000 (+0100) Subject: xl: Command line: Remove maximum argument limit for network-attach X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~2734 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=fb38a4e456b9365d0c60be65b6bdbad3aed75a60;p=xen.git xl: Command line: Remove maximum argument limit for network-attach This limit of 11 has been in this function since it was written, but serves no purpose. The extra arguments are fed one by one to parse_nic_config, and it is possible to have as many as you like. Signed-off-by: Ian Jackson Acked-by: Wei Liu --- diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c index 4e97449b29..c2dc9281cd 100644 --- a/tools/libxl/xl_cmdimpl.c +++ b/tools/libxl/xl_cmdimpl.c @@ -6398,11 +6398,6 @@ int main_networkattach(int argc, char **argv) /* No options */ } - if (argc-optind > 11) { - help("network-attach"); - return 0; - } - domid = find_domain(argv[optind]); config= xlu_cfg_init(stderr, "command line");