On the qemu-xen command line, the number of vcpus initially online and
the number of maximum available vcpus are inverted.
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
nr_set_cpus = libxl_bitmap_count_set(&b_info->avail_vcpus);
flexarray_append(dm_args, libxl__sprintf(gc, "%d,maxcpus=%d",
- b_info->max_vcpus,
- nr_set_cpus));
+ nr_set_cpus,
+ b_info->max_vcpus));
} else
flexarray_append(dm_args, libxl__sprintf(gc, "%d",
b_info->max_vcpus));