AdvancedMachineFeaturesResponse

data class AdvancedMachineFeaturesResponse(val enableNestedVirtualization: Boolean, val enableUefiNetworking: Boolean, val threadsPerCore: Int, val visibleCoreCount: Int)

Specifies options for controlling advanced machine features. Options that would traditionally be configured in a BIOS belong here. Features that require operating system support may have corresponding entries in the GuestOsFeatures of an Image (e.g., whether or not the OS in the Image supports nested virtualization being enabled or disabled).

Constructors

Link copied to clipboard
fun AdvancedMachineFeaturesResponse(enableNestedVirtualization: Boolean, enableUefiNetworking: Boolean, threadsPerCore: Int, visibleCoreCount: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Whether to enable nested virtualization or not (default is false).

Link copied to clipboard

Whether to enable UEFI networking for instance creation.

Link copied to clipboard

The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.

Link copied to clipboard

The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width.