vmgpu

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: Apache-2.0 Imports: 10 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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