xen/pciback: Print out the domain owning the device.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 3 Dec 2014 21:40:29 +0000 (16:40 -0500)
committerDavid Vrabel <david.vrabel@citrix.com>
Thu, 4 Dec 2014 12:42:00 +0000 (12:42 +0000)
We had been printing it only if the device was built with
debug enabled. But this information is useful in the field
to troubleshoot.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
drivers/xen/xen-pciback/xenbus.c

index eeee499d4b3c3c55bdf7f481ef497516271cc839..fe17c80ff4b73f0617029dcf130640f358ad6b0b 100644 (file)
@@ -247,7 +247,7 @@ static int xen_pcibk_export_device(struct xen_pcibk_device *pdev,
        if (err)
                goto out;
 
-       dev_dbg(&dev->dev, "registering for %d\n", pdev->xdev->otherend_id);
+       dev_info(&dev->dev, "registering for %d\n", pdev->xdev->otherend_id);
        if (xen_register_device_domain_owner(dev,
                                             pdev->xdev->otherend_id) != 0) {
                dev_err(&dev->dev, "Stealing ownership from dom%d.\n",