Commit e021e6cb authored by Yunxiang Li's avatar Yunxiang Li Committed by Alex Williamson
Browse files

vfio/pci: Expose setup ROM at ROM bar when needed



If ROM bar is missing for any reason, we can fallback to using pdev->rom
to expose the ROM content to the guest. This fixes some passthrough use
cases where the upstream bridge does not have enough address window.

Signed-off-by: default avatarYunxiang Li <Yunxiang.Li@amd.com>
Link: https://lore.kernel.org/r/20250102185013.15082-3-Yunxiang.Li@amd.com


Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
parent c5a8b5d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment