VM with Windows 2008/2012 fail to power on when setup Intel X520/X540 SRIOV NIC
Details
vmware.log
file reports an out of MSI-X vectors
message.This issue also occurs when you install the Windows PF driver for these adapters. You see an error similar to
PCIPassthru: 07:00.1 tried to modify MSI-X vectors number 32-32, but maximum supported vector number is 31.
During load time, the X520-2 device is marked as unsafe
. The driver does not load what appears to be an unsafe device. The virtual machine starts and shows the error message.Solution
pciPassthru0.maxMSIXvectors = 31
parameter to the virtual machine's configuration file.From the vSphere Web Client
- Right-click the virtual machine and select Edit Settings.
- Click the Options tab and click General.
- Click Configuration.
- Click Add Row.
- Add the parameter to the new row:
- In the Name column, add pciPassthru0.maxMSIXvectors.
- In the Value column, add 31.
- Click OK.
Note: Do not reinstall the driver before modifying the
.vmx
file.- Open the
.vmx
file for the virtual machine in a text editor. - Add this entry to the file:
pciPassthru0.maxMSIXvectors = 31
- Reinstall the driver in the virtual machine.
Note: If multiple devices are present, ensure to add entries for each PCI device.
pciPassthru0.maxMSIXvectors = xx, pciPassthru1.maxMSIXvectors = xx
沒有留言:
張貼留言