Bug 216891 - The interface for creating SR-IOV VF doesn't exist
Summary: The interface for creating SR-IOV VF doesn't exist
Status: NEW
Alias: None
Product: Virtualization
Classification: Unclassified
Component: kvm (show other bugs)
Hardware: Intel Linux
: P1 high
Assignee: virtualization_kvm
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-06 01:38 UTC by Yang Lixiao
Modified: 2023-01-06 01:40 UTC (History)
3 users (show)

See Also:
Kernel Version: 6.2.0-rc1
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
kernel config (126.66 KB, text/x-mpsub)
2023-01-06 01:38 UTC, Yang Lixiao
Details

Description Yang Lixiao 2023-01-06 01:38:21 UTC
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

Note You need to log in before you can comment on or make changes to this bug.