xl: Fix global pci options
authorJason Andryuk <jandryuk@gmail.com>
Wed, 30 Mar 2022 18:17:41 +0000 (14:17 -0400)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 31 Mar 2022 18:48:12 +0000 (19:48 +0100)
commite45ad0b1b0bd6a43f59aaf4a6f86d88783c630e5
tree26a29b7d770c6b4fd024f5481cb2c08af7a75d28
parent8a87b9a0fb0564f9d68f0be0a0d1a17c34117b8b
xl: Fix global pci options

commit babde47a3fed "introduce a 'passthrough' configuration option to
xl.cfg..." moved the pci list parsing ahead of the global pci option
parsing.  This broke the global pci configuration options since they
need to be set first so that looping over the pci devices assigns their
values.

Move the global pci options ahead of the pci list to restore their
function.

Fixes: babde47a3fed ("introduce a 'passthrough' configuration option to xl.cfg...")
Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
tools/xl/xl_parse.c