February 17, 20233 yr Hi, I'm trying to pass Mellanox QSFP card to VM and getting the below error. Execution error internal error: qemu unexpectedly closed the monitor: qxl_send_events: spice-server bug: guest stopped, ignoring 2023-02-17T04:31:12.804036Z qemu-system-x86_64: -device {"driver":"vfio-pci","host":"0000:07:00.0","id":"hostdev2","bus":"pci.0","addr":"0xb"}: vfio 0000:07:00.0: Failed to set up TRIGGER eventfd signaling for interrupt INTX-0: VFIO_DEVICE_SET_IRQS failure: Device or resource busy I verified the below link which was discussed on same issue. I tried to run the check.sh script as per the discussion in the link and got the below result. root@NetPlex:~# ./check.sh 07:00.0 INTx disable support available on 07:00.0 Then I ran echo -n 1 > "/sys/devices/pci0000:00/0000:00:07.0/remove" and started the VM but no luck. Please help me. netplex-diagnostics-20230216-2028.zip
February 17, 20233 yr You have an issue with irq conflicts: Feb 16 20:15:41 NetPlex kernel: genirq: Flags mismatch irq 33. 00000000 (vfio-intx(0000:07:00.0)) vs. 00000080 (vfio-intx(0000:06:00.1)) where 7:00.0 is the mellanox card and 6:00.1 is the intel network controller (it's a part of it). You have different options, and it could be you wont solve the issue because you couldn't apply one of the following things: 1. Some bioses have irq assignement: if your bios does have it, assign a different irq to the mellanox or intel card 2. Phisically move the mellanox card in another pcie slot to "hopefully" change the irq 3. Disable in bios the intel controller so the irq doesn't conflict (...but you use it, so that's not the way...) PS: did you try the script on 6:00.1? intx should not be available.. Quote Then I ran echo -n 1 > "/sys/devices/pci0000:00/0000:00:07.0/remove" and started the VM but no luck. Please help me. You removed the mellanox...you need to remove the intel if the mellanox is passed to the vm you want to run. Edited February 17, 20233 yr by ghost82
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.