 
	
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 3/5] tools: libxl/xl: allow to get/set Credit1's vcpu_migration_delay
 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/Attachment:
signature.asc _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel 
 
 | 
|  | Lists.xenproject.org is hosted with RackSpace, monitoring our |