]> git.proxmox.com Git - mirror_qemu.git/commitdiff
Xen PCI passthrough: fix passthrough failure when no interrupt pin
authorBruce Rogers <brogers@suse.com>
Wed, 27 Jul 2016 15:30:48 +0000 (09:30 -0600)
committerStefano Stabellini <sstabellini@kernel.org>
Thu, 4 Aug 2016 17:42:48 +0000 (10:42 -0700)
Commit 5a11d0f7 mistakenly converted a log message into an error
condition when no pin interrupt is found for the pci device being
passed through. Revert that part of the commit.

Signed-off-by: Bruce Rogers <brogers@suse.com>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
hw/xen/xen_pt.c

index f593b046e580661cca3ee69d725b6c3b63e2bb36..b6d71bb52aa44bd4f342c893fcebe8808c15fb09 100644 (file)
@@ -842,7 +842,7 @@ static void xen_pt_realize(PCIDevice *d, Error **errp)
         goto err_out;
     }
     if (!scratch) {
-        error_setg(errp, "no pin interrupt");
+        XEN_PT_LOG(d, "no pin interrupt\n");
         goto out;
     }