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 about 5 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit 9d08e1f8c231016dcfeb854acff457e0e54f179d Author: Hans Rosenfeld <email@example.com> Date: 2017-01-10T09:48:14.000Z 7723 disable MSI-X in nvme on VMware Reviewed by: Rick McNeal <firstname.lastname@example.org> Reviewed by: Yuri Pankov <email@example.com> Reviewed by: Robert Mustacchi <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>