Skip to content

Fix domain GetVcpus() #45

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jkloetzke
Copy link

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.

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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant