Re: [libvirt PATCH 3/4] PCI VPD: Skip fields with invalid values

2021-10-26 Thread Daniel P . Berrangé
On Fri, Oct 22, 2021 at 03:45:44PM +0300, Dmitrii Shcherbakov wrote: > While invalid values need to be ignored when presenting VPD data to the > user, it would be good to attempt to parse a valid portion of the VPD > instead of marking it invalid as a whole. > > The particular example encountered

[libvirt PATCH 3/4] PCI VPD: Skip fields with invalid values

2021-10-22 Thread Dmitrii Shcherbakov
While invalid values need to be ignored when presenting VPD data to the user, it would be good to attempt to parse a valid portion of the VPD instead of marking it invalid as a whole. The particular example encountered on real hardware was twofold: * "N/A" strings present in read-only fields.