On Thu, Dec 03, 2020 at 02:25:29PM +0000, Paul Durrant wrote: > From: Paul Durrant <pdurr...@amazon.com> > > This patch largely re-writes the code to parse a PCI_SPEC_STRING and enters > it via the newly introduced function. The new parser also deals with 'bdf' > and 'vslot' as non-positional paramaters, as per the documentation in > xl-pci-configuration(5). > > The existing xlu_pci_parse_bdf() function remains, but now strictly parses > BDF values. Some existing callers of xlu_pci_parse_bdf() are > modified to call xlu_pci_parse_spec_string() as per the documentation in > xl(1). > > NOTE: Usage text in xl_cmdtable.c and error messages are also modified > appropriately. > > Fixes: d25cc3ec93eb ("libxl: workaround gcc 10.2 maybe-uninitialized warning")
I don't think d25cc3ec93eb is buggy, so this tag is not needed. > Signed-off-by: Paul Durrant <pdurr...@amazon.com> Acked-by: Wei Liu <w...@xen.org>