On 08/10/18 14:45, Jan Beulich wrote: > >> --- a/xen/common/domain.c >> +++ b/xen/common/domain.c >> @@ -297,6 +297,9 @@ static int check_domain_config(struct >> xen_domctl_createdomain *config) >> XEN_DOMCTL_CDF_xs_domain) ) >> return -EINVAL; >> >> + if ( config->max_vcpus < 1 ) >> + return -EINVAL; >> + >> return arch_check_domain_config(config); >> } > Any reason you don't remove the now redundant check from > domain_create(), which would allow ditching altogether x86's > domain_max_vcpus()?
That's done in the next patch, to simplify this one. ~Andrew _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel