Adding Pass Through Device from CLI

Is there any vCLI command or tool available on Linux to add PCI Passthrough FC HBA to a VM.

On the other hand, powering on of VM after adding the FC HBA using PowerCLI(on Windows system) is also failing….Whereas same is working when adding the FC HBA using GUI.

Any help is greatly appreciated.

PowerCLI C:\> Connect-VIServer -Server -User Administrator -Password HPinvent! | out-null

PowerCLI C:\> get-vmhost | get-passthroughdevice | Where {$_.VendorName -match "Emulex"} | add-PassThroughDevice -VM susrmc1gen8

Key        Name                           VendorName                     Type
---        ----                           ----------                     ----
13000      LPe12000 8Gb Fibre Channel ... Emulex Corporation             Pci

PowerCLI C:\> Start-VM -VM susrmc1gen8 -Confirm:$false
Start-VM : 1/22/2015 8:09:33 AM    Start-VM        The operation for the entity "susrmc1gen8" failed with the following
message: "The systemId does not match the current system or the deviceId, and the vendorId does not match the device c
urrently at 010:00.0"
At line:1 char:9
+ Start-VM <<<<  -VM susrmc1gen8 -Confirm:$false
    + CategoryInfo          : NotSpecified: (:) [Start-VM], GenericVmConfigFault
    + FullyQualifiedErrorId : Client20_TaskServiceImpl_CheckServerSideTaskUpdates_OperationFailed,VMware.VimAutomation

PowerCLI C:\>


Tags (2)
0 Kudos
0 Replies