disable MSI-X in nvme on VMware
At attach time the nvme driver sets up an initial interrupt, and a little later it disables it and sets up several MSI-X interrupts for all the queues. If the initial interrupt is also MSI-X this will confuse VMware ESXi enough to shut off the VM. This apparently happens only with NVMe devices in passthrough mode.
The problem is actually very likely a VMware bug: it notices that we set up the first MSI-X interrupt, but it doesn't understand that we're disabling it again. We can't fix VMware, but we can disable the use of MSI-X in nvme on VMware.
Updated by Electric Monk over 4 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit 9d08e1f8c231016dcfeb854acff457e0e54f179d Author: Hans Rosenfeld <firstname.lastname@example.org> Date: 2017-01-10T09:48:14.000Z 7723 disable MSI-X in nvme on VMware Reviewed by: Rick McNeal <email@example.com> Reviewed by: Yuri Pankov <firstname.lastname@example.org> Reviewed by: Robert Mustacchi <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>