VMware vSphere

 View Only

esxcli command to add passthrough for pci device?

  • 1.  esxcli command to add passthrough for pci device?

    Posted Dec 01, 2015 06:53 PM

    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!