On Mon, Feb 19, 2024 at 1:49 PM Marek Marczykowski-Górecki <marma...@invisiblethingslab.com> wrote: > > From: Frédéric Pierret (fepitre) <frederic.pier...@qubes-os.org> > > When running in a stubdomain, the config space access via sysfs needs to > use BDF as seen inside stubdomain (connected via xen-pcifront), which is > different from the real BDF. For other purposes (hypercall parameters > etc), the real BDF needs to be used. > Get the in-stubdomain BDF by looking up relevant PV PCI xenstore > entries. > > Signed-off-by: Marek Marczykowski-Górecki <marma...@invisiblethingslab.com>
Anthony made these comments on a different version of this patch: https://lore.kernel.org/xen-devel/48c55d33-aa16-4867-a477-f6df45c7d9d9@perard/ (Sorry I lost track of addressing them at the time.) Regards, Jason