VMware Cloud Community
ibgb
Contributor
Contributor

esxcli command to add passthrough for pci device?

Hi,

I have a passthrough capable board, and want to passthrough a LSI 2308 HBA to a vm. All I have seen so far are instructions to click on a vsphere gui icons. Is there a way to set this up with esxi command lines, or editing config files? I have seen that with vsphere:

Note: The configuration changes are saved in the /etc/vmware/esx.conf file.

The PCI slot number where the device was connected is 00:0b:0. It is recorded as:

/device/000:11.0/owner = "passthru"

Note: 11 is the decimal equivalent of the hexadecimal 0b.

Can I just edit this line:

/device/00000:002:00.0/vmkname = "vmhba1"

to this:

/device/00000:002:00.0/owner = "passthru"

I don't want to need windows, vsphere, etc just to setup a passthrough. Is there a way to do this?

I don't know if the workstation/fusion pro vmware products enable an advanced config to set the pci device to a vm either....

Thanks!

0 Kudos
2 Replies
thoreightysix
Contributor
Contributor

Hello,

Did you ever figure out how to passthrough your devices? I am currently trying to figure this out.

Thanks,

Chris

0 Kudos
user9922
Enthusiast
Enthusiast

me too...how can we do this in the console?

0 Kudos