xen_pt: Fix debug output.
PATCH 1/1 xen_pt: Fix debug output.
Signed-off-by Anthony PERARD <[email protected]>
--- hw/xen/xen_pt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
hw/xen/xen_pt.c +2 -2
@@ -420,8 +420,8 @@ static int xen_pt_register_regions(XenPCIPassthroughState *s) "xen-pci-pt-bar", r->size);pci_register_bar (&s->dev, i, type, &s->bar[i]); -XEN_PT_LOG (&s->dev,"IO region %i registered (size=0x%lx" PRIx64 -" base_addr=0x%lx" PRIx64" type: %#x)\n" , +XEN_PT_LOG (&s->dev,"IO region %i registered (size=0x%08" PRIx64 +" base_addr=0x%08" PRIx64" type: %#x)\n" , i, r->size, r->base_addr, type); }
Signature · 1 line
Anthony PERARD
Quoted 1 line · Anthony PERARD
Signed-off-by Anthony PERARD <[email protected]>
Reviewed-by Konrad Rzeszutek Wilk <[email protected]>
I saw myself and was going to post a fix, but you beat me to it.
Quoted 27 lines
--- hw/xen/xen_pt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)hw/xen/xen_pt.c +2
-2@@ -420,8 +420,8 @@ static int xen_pt_register_regions(XenPCIPassthroughState *s) "xen-pci-pt-bar", r->size);pci_register_bar (&s->dev, i, type, &s->bar[i]); -XEN_PT_LOG (&s->dev,"IO region %i registered (size=0x%lx" PRIx64 -" base_addr=0x%lx" PRIx64" type: %#x)\n" , +XEN_PT_LOG (&s->dev,"IO region %i registered (size=0x%08" PRIx64 +" base_addr=0x%08" PRIx64" type: %#x)\n" , i, r->size, r->base_addr, type); }Signature · 7 lines
Anthony PERARD _______________________________________________ Xen-devel mailing list [email protected] http://lists.xen.org/xen-devel
Quoted 1 line · Anthony PERARD
Signed-off-by Anthony PERARD <[email protected]>
Reviewed-by Konrad Rzeszutek Wilk <[email protected]>
I saw myself and was going to post a fix, but you beat me to it.
Quoted 27 lines
--- hw/xen/xen_pt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)hw/xen/xen_pt.c +2
-2@@ -420,8 +420,8 @@ static int xen_pt_register_regions(XenPCIPassthroughState *s) "xen-pci-pt-bar", r->size);pci_register_bar (&s->dev, i, type, &s->bar[i]); -XEN_PT_LOG (&s->dev,"IO region %i registered (size=0x%lx" PRIx64 -" base_addr=0x%lx" PRIx64" type: %#x)\n" , +XEN_PT_LOG (&s->dev,"IO region %i registered (size=0x%08" PRIx64 +" base_addr=0x%08" PRIx64" type: %#x)\n" , i, r->size, r->base_addr, type); }Signature · 7 lines
Anthony PERARD _______________________________________________ Xen-devel mailing list [email protected] http://lists.xen.org/xen-devel