Documentation ¶
Index ¶
- Constants
- func CreateHostDevices(vmiHostDevices []v1.HostDevice) ([]api.HostDevice, error)
- func CreateHostDevicesFromPools(vmiHostDevices []v1.HostDevice, ...) ([]api.HostDevice, error)
- func NewMDEVAddressPool(hostDevices []v1.HostDevice) *hostdevice.AddressPool
- func NewPCIAddressPool(hostDevices []v1.HostDevice) *hostdevice.AddressPool
- func NewUSBAddressPool(hostDevices []v1.HostDevice) *hostdevice.AddressPool
Constants ¶
View Source
const ( AliasPrefix = "hostdevice-" DefaultDisplayOff = false )
Variables ¶
This section is empty.
Functions ¶
func CreateHostDevices ¶
func CreateHostDevices(vmiHostDevices []v1.HostDevice) ([]api.HostDevice, error)
func CreateHostDevicesFromPools ¶
func CreateHostDevicesFromPools(vmiHostDevices []v1.HostDevice, pciAddressPool, mdevAddressPool, usbAddressPool hostdevice.AddressPooler) ([]api.HostDevice, error)
func NewMDEVAddressPool ¶
func NewMDEVAddressPool(hostDevices []v1.HostDevice) *hostdevice.AddressPool
NewMDEVAddressPool creates a MDEV address pool based on the provided list of host-devices and the environment variables that describe the resource.
func NewPCIAddressPool ¶
func NewPCIAddressPool(hostDevices []v1.HostDevice) *hostdevice.AddressPool
NewPCIAddressPool creates a PCI address pool based on the provided list of host-devices and the environment variables that describe the resource.
func NewUSBAddressPool ¶ added in v1.1.0
func NewUSBAddressPool(hostDevices []v1.HostDevice) *hostdevice.AddressPool
NewUSBAddressPool creates a USB address pool based on the environment variable that describes the resource
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.