Contents

start(options:completionHandler:)

Starts the VM with the options and a completion handler you provide.

Declaration

func start(options: VZVirtualMachineStartOptions, completionHandler: @escaping ((any Error)?) -> Void)
func start(options: VZVirtualMachineStartOptions) async throws

Parameters

  • options:

    A Vzvirtualmachinestartoptions object that describes controlling startup behavior of a VM using Vzmacosbootloader.

  • completionHandler:

    The block to call with the results of the startup attempt. This block has no return value and has one Nserror object as its parameter:

    error

    A result type that contains an error object when the VM fails to start.

See Also

Related Documentation

Starting and stopping the VM