About RO connection
by Xingbo Kan
Dear developers and users:
Is there any standard or convention of which kind of APIs&flags could
be invoked by RO connection? If there is any, please tell me in
detail, thanks a lot!
Kind regards,
xkan
2 years, 6 months
Number of the max supported VFs are different
by Yalan Zhang
Hi there,
I have an Intel X520 network card, and I find the max supported VFs are
different.
Please check below outputs:
# lspci -vvv -s 04:00.0
04:00.0 Ethernet controller: Intel Corporation Ethernet 10G 2P X520 Adapter
(rev 01)
...
Capabilities: [160 v1] Single Root I/O Virtualization (SR-IOV)
IOVCap: Migration-, Interrupt Message Number: 000
IOVCtl: Enable- Migration- Interrupt- MSE- ARIHierarchy+
IOVSta: Migration-
** Initial VFs: 64, Total VFs: 64**, Number of VFs: 0, Function Dependency
Link: 00
VF offset: 128, stride: 2, Device ID: 10ed
Supported Page Size: 00000553, System Page Size: 00000001
Region 0: Memory at 0000000094400000 (64-bit, prefetchable)
Region 3: Memory at 0000000094500000 (64-bit, prefetchable)
VF Migration: offset: 00000000, BIR: 0
Kernel driver in use: ixgbe
Kernel modules: ixgbe
# cat /sys/class/net/enp4s0f0/device/sriov_totalvfs
63
# echo 64 > /sys/class/net/enp4s0f0/device/sriov_numvfs
-bash: echo: write error: Numerical result out of range
# echo 63 > /sys/class/net/enp4s0f0/device/sriov_numvfs
# cat /sys/class/net/enp4s0f0/device/sriov_numvfs
63
The lspci command says the Total VFs supported is 64, while in the file
"sriov_totalvfs" says it's 63.
And the sriov_numvfs file will take precedence.
Why are the numbers different? Just a little curious.
Thank you!
-------
Best Regards,
Yalan Zhang
IRC: yalzhang
2 years, 6 months
libvirtd file descriptors leaking
by Дмитрий
Hello,
## SETUP
CentOS 8 Stream
libguestfs-tools.noarch 1:1.40.2-24.el8.plesk
libvirt.x86_64 7.6.0-6.el8s
## ISSUE REPRODUCTION
lsof -p $(cat /run/libvirtd.pid) | wc -l # here we have N open file descriptors by libvirtd
guestfish --ro -d domain1
run # here we have N+1 open file descriptors by libvirtd
Ctrl+D # and we still have N+1 open file descriptors by libvirtd
virt-df -d domain1 # after completion we still having N++ open file descriptors by libvirtd
To fix this issue i am force to restart libvirtd
2 years, 6 months