Skip to content

Does VZ support querying the number of VMs currently running? #200

@travisghansen

Description

@travisghansen

I'm trying to hack on a 3rd party project (https://github.com/agoda-com/macOS-vz-kubelet/tree/main) and I see some manual maintenance of counters in the code (which has logic problems anyway) and I figure a better approach is to simply ask the OS if there is space for another VM to run currently.

Is this a thing? Does this library have such a method implemented? (sorry, by go skills are pretty lacking)

For example, there could be multiple virtual machine monitors running without knowledge of if or how many machines the other may have started...so going straight to the os is a better approach.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions