On Thu, 2018-02-22 at 17:55 +0100, Dario Faggioli wrote: > --- a/tools/libxl/libxl_sched.c > +++ b/tools/libxl/libxl_sched.c > @@ -505,6 +507,9 @@ int main_sched_credit(int argc, char **argv) > ratelimit = strtol(optarg, NULL, 10); > opt_r = true; > break; > + case 'm': > + migrdelay = strtol(optarg, NULL, 10); > + opt_m = true; > This is missing a 'break'.
> case 's':
> opt_s = true;
> break;
> @@ -522,7 +527,7 @@ int main_sched_credit(int argc, char **argv)
> fprintf(stderr, "Must specify a domain.\n");
> return EXIT_FAILURE;
> }
> - if (!opt_s && (opt_t || opt_r)) {
> + if (!opt_s && (opt_t || opt_r || opt_w)) {
>
And this is 'opt_m'.
I'll send a v2. :-)
Regards,
Dario
--
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Software Engineer @ SUSE https://www.suse.com/
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
