diff options
| author | Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com> | 2024-03-27 04:05:15 +0100 |
|---|---|---|
| committer | Anthony PERARD <anthony@xenproject.org> | 2024-07-01 14:57:18 +0200 |
| commit | 196fb962baeff16342279111cc927a153415f85f (patch) | |
| tree | b8f9b32ea35a86fce2b6ab35fa0050bcfb43761d /hw/xen/xen-hvm-common.c | |
| parent | b2bbadc63c5e907bbb7a19244929ef4c028f3d01 (diff) | |
| download | focaccia-qemu-196fb962baeff16342279111cc927a153415f85f.tar.gz focaccia-qemu-196fb962baeff16342279111cc927a153415f85f.zip | |
xen: fix stubdom PCI addr
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 <marmarek@invisiblethingslab.com> Reviewed-by: Anthony PERARD <anthony.perard@citrix.com> Message-Id: <35049e99da634a74578a1ff2cb3ae4cc436ede33.1711506237.git-series.marmarek@invisiblethingslab.com> Signed-off-by: Anthony PERARD <anthony@xenproject.org>
Diffstat (limited to 'hw/xen/xen-hvm-common.c')
0 files changed, 0 insertions, 0 deletions