On 12.03.2023 08:54, Huang Rui wrote: > From: Chen Jiqian <jiqian.c...@amd.com> > > When passthrough gpu to guest, usersapce can only get irq > instead of gsi. But it should pass gsi to guest, so that > guest can get interrupt signal. So, provide function to get > gsi. > > Signed-off-by: Chen Jiqian <jiqian.c...@amd.com> > Signed-off-by: Huang Rui <ray.hu...@amd.com> > --- > tools/include/xen-sys/Linux/privcmd.h | 7 +++++++
Assuming this information needs obtaining in the first place (which I doubt), I don't think privcmd is the right vehicle to get at it. Can one obtain such mapping information on baremetal Linux? If so, that would want re-using in the same or a similar way. If not, there would need to be a very good reason why the information is needed when running on top of Xen. Jan