Hi, Thanks for your explanations, Samuel. Then I'll take your changes on the libpciaccess patch, fix the closedir() issue and send it to upstream.
I was also wondering if after your changes, libpciaccess would support nested arbiters, or if is that something we want at all. About pciutils, I've seen our patch doesn't use the RPC get_ndevs(), so no need to remove it, but it has the closedir() bug too. So I'll fix it and send it upstream as well.