Struct apple_bundle::entitlements::hypervisor::Hypervisor[][src]

pub struct Hypervisor {
    pub security_hypervisor: Option<bool>,
    pub vm_hypervisor: Option<bool>,
    pub vm_device_access: Option<bool>,
    pub vm_networking: Option<bool>,
    pub security_virtualization: Option<bool>,
}
Expand description

Hypervisor

Fields

security_hypervisor: Option<bool>

A Boolean value that indicates whether the app creates and manages virtual machines.

The entitlement is required to use the Hypervisor APIs in any process.

Important

If your app has a deployment target of macOS 10.15 or earlier, add the com.apple.vm.hypervisor entitlement to your app in addition to this entitlement.

Availability

  • macOS 11.0+

Framework

  • Hypervisor
vm_hypervisor: Option<bool>
👎 Deprecated since macOS 10.10–11.0:

For apps with a deployment target of macOS 11 and later, use com.apple.security.hypervisor instead. For deployment targets earlier than macOS 11, add both that and the com.apple.vm.hypervisor entitlement to your app.

A Boolean value that indicates whether the app creates and manages virtual machines.

The entitlement is required to use the Hypervisor APIs in a sandboxed process.

Availability

  • macOS 10.10–11.0

Framework

  • Hypervisor
vm_device_access: Option<bool>

A Boolean value that indicates whether the app captures USB devices and uses them in the guest-operating system.

The entitlement is required to use the IOUSBHost APIs for USB device capture.

Availability

  • macOS 10.10+

Framework

  • Hypervisor
vm_networking: Option<bool>

A Boolean that indicates whether the app manages virtual network interfaces without escalating privileges to the root user.

The entitlement is required to use the vmnet APIs.

Note

This entitlement is restricted to developers of virtualization software. To request this entitlement, contact your Apple representative.

Availability

  • macOS 10.10+

Framework

  • Hypervisor
security_virtualization: Option<bool>

A Boolean that indicates whether the app can use the Virtualization framework.

Read the value of isSupported to check for the presence of both this entitlement and the hardware support needed for virtualization.

Availability

  • macOS 11.0+

Framework

  • Hypervisor

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.