Skip to content

Fix domain GetVcpus()#45

Open
jkloetzke wants to merge 1 commit intoTinkoff:masterfrom
jkloetzke:fix-getvcpus
Open

Fix domain GetVcpus()#45
jkloetzke wants to merge 1 commit intoTinkoff:masterfrom
jkloetzke:fix-getvcpus

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