dda

package
v0.10.1-alpha.7 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Attach

func Attach(vmName string, deviceId string) error

func Detach

func Detach(vmName string, deviceId string) error

func GetInstanceID

func GetInstanceID(deviceName string, objectClass string) string

func HasAttachedDevice

func HasAttachedDevice(vmName, deviceName string) bool

returns true is the vm has the id supplied attached

Types

type DDAClient

type DDAClient interface {
	Attach(string, int)
	Detach(string, int)
}

Discrete Device Assignment Client attaches devices (GPU, SR-IOV, etc) in a pass-through style to a vm. Currently only GPU is

Jump to

Keyboard shortcuts

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