mirror of
https://github.com/mii443/qemu.git
synced 2025-08-31 11:29:26 +00:00
We need the calculation method to get from a PCI slot ID to its respective interrupt line twice. Once in the internal map function and once when assembling the device tree. So let's extract the calculation to a separate function that can be called by both users. Signed-off-by: Alexander Graf <agraf@suse.de>