Documentation ¶
Index ¶
- func AdjustDomainForTopologyAndCPUSet(domain *api.Domain, vmi *v12.VirtualMachineInstance, topology *v1.Topology, ...) error
- func CalculateRequestedVCPUs(cpuTopology *api.CPUTopology) uint32
- func FormatDomainIOThreadPin(vmi *v12.VirtualMachineInstance, domain *api.Domain, ...) error
- func FormatEmulatorThreadPin(cpuPool VCPUPool, vmiAnnotations map[string]string, vCPUs int64) (string, error)
- func GetCPUTopology(vmi *v12.VirtualMachineInstance) *api.CPUTopology
- func GetVirtualMemory(vmi *v12.VirtualMachineInstance) *resource.Quantity
- func QuantityToByte(quantity resource.Quantity) (api.Memory, error)
- func QuantityToMebiByte(quantity resource.Quantity) (uint64, error)
- type VCPUPool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdjustDomainForTopologyAndCPUSet ¶ added in v0.49.1
func CalculateRequestedVCPUs ¶
func CalculateRequestedVCPUs(cpuTopology *api.CPUTopology) uint32
func FormatDomainIOThreadPin ¶ added in v0.49.1
func FormatEmulatorThreadPin ¶ added in v1.1.1
func GetCPUTopology ¶ added in v0.49.1
func GetCPUTopology(vmi *v12.VirtualMachineInstance) *api.CPUTopology
func GetVirtualMemory ¶ added in v0.49.1
func GetVirtualMemory(vmi *v12.VirtualMachineInstance) *resource.Quantity
func QuantityToByte ¶ added in v0.49.1
Types ¶
Click to show internal directories.
Click to hide internal directories.