vPCI: fix MSI-X PBA read/write gprintk()s

%pp wants the address of an SBDF, not that of a PCI device.

Fixes: b4f2116060 ("vpci/msix: fix PBA accesses")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
This commit is contained in:
Jan Beulich committed 2022-04-07 18:01:24 +02:00
1 parent 15a0578ca4
commit d3f61beea4
1 file changed
+2 -2
+2 -2
View File
@@ -247,7 +247,7 @@ static int cf_check msix_read(
{
gprintk(XENLOG_WARNING,
"%pp: unable to map MSI-X PBA, report all pending\n",
msix->pdev);
&msix->pdev->sbdf);
return X86EMUL_OKAY;
}
@@ -332,7 +332,7 @@ static int cf_check msix_write(
/* Unable to map the PBA, ignore write. */
gprintk(XENLOG_WARNING,
"%pp: unable to map MSI-X PBA, write ignored\n",
msix->pdev);
&msix->pdev->sbdf);
return X86EMUL_OKAY;
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.