VZVirtualMachine
An object that manages the overall state and configuration of your VM.
Declaration
class VZVirtualMachineMentioned in
Overview
A VZVirtualMachine object emulates a complete hardware machine of the same architecture as the underlying Mac computer. Use the VM to execute a guest operating system and any other apps you install. The VM manages the resources that the guest operating system uses, providing access to some hardware resources while emulating others.
Create and configure a VZVirtualMachineConfiguration object with details about how you want to configure your VM, and use that object to create the VZVirtualMachine object. After creating the VM, call the start(completionHandler:) method (Swift) or the start() method (Objective-C) to start the VM and boot the guest operating system.
Topics
Creating the VM
Responding to a stopped VM
Starting and stopping the VM
start(completionHandler:)start()start(options:completionHandler:)stop(completionHandler:)pause(completionHandler:)requestStop()resume(completionHandler:)pause()resume()VZVirtualMachineStartOptions