Different behavior with vfio-pci between 6.4.8->6.5.5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

I noticed a change in my home server which breaks some of KVM VM's
with newer kernels. I have two Intel I350 cards: one with two ports
and another with four ports. I have been using the card with two ports
in a firewall VM with vfio-pci. Other ports have been given to other
VM's as host interface devices in KVM. When I upgraded to 6.6 I
noticed that the four port card is now using vfio-pci driver and not
igb as with 6.4.8 did and those VM's using host interfaces didn't
start. I had earlier built 6.5.5 so I tried that and it works same way
as the 6.6 kernel does, so if something has changed it is probably in
6.5 series. I have this in /etc/modprope.d/vfio.conf:

options vfio_pci ids=8086:1521

With  6.4.8 lspci -vv shows this:
01:00.0 Ethernet controller: Intel Corporation I350 Gigabit Network
Connection (rev 01)
        Subsystem: Intel Corporation Ethernet Server Adapter I350-T4
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 67
        IOMMU group: 11
....
        Kernel driver in use: igb
        Kernel modules: igb

And with 6.5.5 I get:
01:00.0 Ethernet controller: Intel Corporation I350 Gigabit Network
Connection (rev 01)
        Subsystem: Intel Corporation Ethernet Server Adapter I350-T4
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Interrupt: pin A routed to IRQ 255
        IOMMU group: 11
....
        Kernel driver in use: vfio-pci
        Kernel modules: igb

Have I been just lucky previously with my config or did something
change? I tried to figure out the change from 6.5 release notes but
could not. My home server is running on AMD Ryzen 5700g and Alma Linux
8.8 (I just compile newer kernels out of habit).

Thanks,
Juhani
-- 
Juhani Rautiainen                                   jrauti@xxxxxx




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux