Created attachment 303532 [details] kernel config Environment: CPU Architecture: x86_64 Host OS: Red Hat Enterprise Linux 8.4 (Ootpa) NIC: 98:00.0 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 02) Host kernel: 6.2.0-rc1 gcc: gcc version 8.4.1 Host kernel source: https://git.kernel.org/pub/scm/virt/kvm/kvm.git Branch: next Commit: fc471e83 Qemu source: https://git.qemu.org/git/qemu.git Branch: master Commit: cb9c6a8e Bug Detailed Description: The interface for creating SR-IOV VF doesn't exist, i.e. /sys/bus/pci/devices/0000:98:00.0/sriov_numvfs doesn't exist. This issue didn't happen in my last test with host kernel 6.1.0-rc4,kvm commit 549a715b and qemu commit c15dc499. Reproducing Steps: Try to create 2 VFs echo 2 > /sys/bus/pci/devices/0000:98:00.0/sriov_numvfs Actual Result: Error log: No such file:/sys/bus/pci/devices/0000:98:00.0/sriov_numvfs Expected Result: 2 VFs successfully created