Re: [libvirt] [PATCH 1/2] esx: Make esxDomainGetVcpusFlags return vcpus again

2018-08-13 Thread Matthias Bolte
2018-08-10 5:56 GMT+02:00 Marcos Paulo de Souza : > Before this patch, esxDomainGetVcpusFlags was returning -1 since > "maxSupportedVcpus" can be NULL in ESXi[1]. In order to make it work, > replicate the same behavior than esxDomainGetInfo that used > config.hardware.numCPU to return the correct

[libvirt] [PATCH 1/2] esx: Make esxDomainGetVcpusFlags return vcpus again

2018-08-09 Thread Marcos Paulo de Souza
Before this patch, esxDomainGetVcpusFlags was returning -1 since "maxSupportedVcpus" can be NULL in ESXi[1]. In order to make it work, replicate the same behavior than esxDomainGetInfo that used config.hardware.numCPU to return the correct number of vcpus of a VM. This patch, together with the