vmgpu

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpandGPUs

func ExpandGPUs(gpus []zos.GPU) ([]capacity.PCI, error)

expandGPUs expands the set of provided GPUs with all devices in the IoMMU group. It's required that all devices in an iommu group to be passed together to a VM hence we need that for each GPU in the list add all the devices from each device IOMMU group

func InitGPUVfioModules

func InitGPUVfioModules() error

func InitGPUs

func InitGPUs() error

this function will make sure ALL gpus are bind to the right driver

func UnbindBootVga

func UnbindBootVga() error

unbindBootVga is a helper method to disconnect the boot vga if needed

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL