Description of problem:
List of nodedev is not populated correctly.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. systemctl stop libvirtd
2. virsh nodedev-list --cap net
List of net devices, that is, whatever is displayed if 2. is repeated, e.g.
a.) Fix is available upstream https://gitlab.com/libvirt/libvirt/-/commit/008abeb03c262149b756ad5a226ff6cbc5e37e2c
b.) s390x doesn't have AV
c.) This causes false negatives for tp-libvirt virsh.nodedev_dumpxml.positve_test.acl_test.device_type_net
Refer to Bug 1813282, the patch included in libvirt-6.2.0-1.el8 on rhel-av 8.3.0
Test on libvirt-libs-6.0.0-25.module+el8.3.0+7176+57f10f42.x86_64 with the steps in bug 1846237#c4, the issue is fixed. Set the bug to be verified.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Moderate: virt:rhel and virt-devel:rhel security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.