pci

package
v0.11.4 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindDeviceBusLocationFromVMBusGUID

func FindDeviceBusLocationFromVMBusGUID(ctx context.Context, vmBusGUID string) (string, error)

FindDeviceBusLocationFromVMBusGUID finds device bus location by reading /sys/bus/vmbus/devices/<vmBusGUID>/... for pci specific directories

func FindDeviceFullPath added in v0.10.0

func FindDeviceFullPath(ctx context.Context, vmBusGUID string) (string, error)

FindDeviceFullPath finds the full PCI device path in the form of /sys/bus/vmbus/devices/<vmBusGUID>/pciXXXX:XX/XXXX:XX*

func WaitForPCIDeviceFromVMBusGUID

func WaitForPCIDeviceFromVMBusGUID(ctx context.Context, vmBusGUID string) error

WaitForPCIDeviceFromVMBusGUID waits for bus location path of the device to be present

Types

This section is empty.

Jump to

Keyboard shortcuts

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