diff --git a/src/lxc/lxc_driver.c b/src/lxc/lxc_driver.c index 9aea5560c700a556c5d84042ecf70cc6e0fb40e3..919f4abeeb1b6ced63a92e6d3a57a14316709a41 100644 --- a/src/lxc/lxc_driver.c +++ b/src/lxc/lxc_driver.c @@ -590,7 +590,7 @@ static int lxcDomainGetInfo(virDomainPtr dom, } info->maxMem = vm->def->mem.max_balloon; - info->nrVirtCpu = 1; + info->nrVirtCpu = vm->def->vcpus; ret = 0; cleanup: