package pci
import "github.com/Microsoft/opengcs/internal/storage/pci"
Index ¶
- func FindDeviceBusLocationFromVMBusGUID(ctx context.Context, vmBusGUID string) (string, error)
- func WaitForPCIDeviceFromVMBusGUID(ctx context.Context, vmBusGUID string) error
Functions ¶
func FindDeviceBusLocationFromVMBusGUID ¶
FindDeviceBusLocationFromVMBusGUID finds device bus location by reading /sys/bus/vmbus/devices/<vmBusGUID>/... for pci specific directories
func WaitForPCIDeviceFromVMBusGUID ¶
WaitForPCIDeviceFromVMBusGUID waits for bus location path of the device to be present
Source Files ¶
- Version
- v0.4.0 (latest)
- Published
- Dec 4, 2020
- Platform
- linux/amd64
- Imports
- 6 packages
- Last checked
- 12 hours ago –
Tools for package owners.