]> git.ipfire.org Git - thirdparty/libvirt.git/commit
pci: Remove error reporting from PCI VPD parsing
authorPeter Krempa <pkrempa@redhat.com>
Tue, 26 Mar 2024 14:06:58 +0000 (15:06 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 28 Mar 2024 09:11:55 +0000 (10:11 +0100)
commit0e566614ff3884f280b6219ee6dd4dd940b11d09
tree0e4ba78af74245d48eb5085aad5135f3c398a1de
parent34f7ca668f19032941ac6ee967577f9b12d913f4
pci: Remove error reporting from PCI VPD parsing

The PCI VPD (Vital Product Data) may be missing or the kernel can report
presence but not actually have the data. Also the data is specified by
the device vendor and thus may be invalid in some cases.

To avoid log spamming, since the only usage in the node device driver is
ignoring errors, remove all error reporting.

Closes: https://gitlab.com/libvirt/libvirt/-/issues/607
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/conf/node_device_conf.c
src/libvirt_private.syms
src/util/virpci.c
src/util/virpci.h