libvirt-exporter
libvirt-exporter copied to clipboard
Fix domain GetVcpus()
A domain might not be running, thus returning zero vCPUs. Bail out early because a zero length array cannot be passed to the underlying libvirt function.