@@ -258,8 +258,9 @@ static int msix_read(struct vcpu *v, uns
if ( !pba )
{
gprintk(XENLOG_WARNING,
- "%pp: unable to map MSI-X PBA, report all pending\n",
- msix->pdev);
+ "%04x:%02x:%02x.%u: unable to map MSI-X PBA, report all pending\n",
+ msix->pdev->seg, msix->pdev->bus, PCI_SLOT(msix->pdev->devfn),
+ PCI_FUNC(msix->pdev->devfn));
return X86EMUL_OKAY;
}
@@ -342,8 +343,10 @@ static int msix_write(struct vcpu *v, un
{
/* Unable to map the PBA, ignore write. */
gprintk(XENLOG_WARNING,
- "%pp: unable to map MSI-X PBA, write ignored\n",
- msix->pdev);
+ "%04x:%02x:%02x.%u: unable to map MSI-X PBA, write ignored\n",
+ msix->pdev->seg, msix->pdev->bus,
+ PCI_SLOT(msix->pdev->devfn),
+ PCI_FUNC(msix->pdev->devfn));
return X86EMUL_OKAY;
}
4.14 doesn't know of this format specifier extension yet. Fixes: 47188b2fdcc6 ("vpci/msix: fix PBA accesses") Signed-off-by: Jan Beulich <jbeulich@suse.com>