privatevm

package
v0.6.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2026 License: MIT Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package privatevm provides focused wrappers for private Virtualization.framework VM selectors.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrVMNotRunning = errors.New("vm not running")
	ErrVMNotStopped = errors.New("vm not stopped")
)

Functions

func CanCreateCore

func CanCreateCore(queue *vm.Queue, machine vz.VZVirtualMachine) (bool, error)

CanCreateCore returns the private _canCreateCore property of a running VM.

func CrashContextMessage

func CrashContextMessage(queue *vm.Queue, machine vz.VZVirtualMachine) string

CrashContextMessage returns the private _crashContextMessage property.

func Name

func Name(queue *vm.Queue, machine vz.VZVirtualMachine) string

Name returns the private _name property of a virtual machine.

func ServicePID

func ServicePID(queue *vm.Queue, machine vz.VZVirtualMachine) (int, error)

ServicePID returns the private _serviceProcessIdentifier of a running VM.

func SetCrashContextMessage

func SetCrashContextMessage(queue *vm.Queue, machine vz.VZVirtualMachine, msg string)

SetCrashContextMessage sets the private _crashContextMessage property.

func SetName

func SetName(queue *vm.Queue, machine vz.VZVirtualMachine, name string)

SetName sets the private _name property of a virtual machine.

func ShouldSendHIDReports

func ShouldSendHIDReports(queue *vm.Queue, machine vz.VZVirtualMachine) (bool, error)

ShouldSendHIDReports returns the private _shouldSendHIDReports property.

func StateDescription

func StateDescription(queue *vm.Queue, machine vz.VZVirtualMachine) (string, error)

StateDescription returns the private _stateDescription of a running VM.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL