]> git.ipfire.org Git - thirdparty/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)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 15 Aug 2016 13:57:24 +0000 (08:57 -0500)
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>
(cherry picked from commit 0968c91ce00f42487fb11de5da38e53b5dc6bc7f)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.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;
     }