%pp wants the address of an SBDF, not that of a PCI device.
Fixes: b4f211606011 ("vpci/msix: fix PBA accesses")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
{
gprintk(XENLOG_WARNING,
"%pp: unable to map MSI-X PBA, report all pending\n",
- msix->pdev);
+ &msix->pdev->sbdf);
return X86EMUL_OKAY;
}
/* 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;
}