From 0968c91ce00f42487fb11de5da38e53b5dc6bc7f Mon Sep 17 00:00:00 2001 From: Bruce Rogers Date: Wed, 27 Jul 2016 09:30:48 -0600 Subject: [PATCH] Xen PCI passthrough: fix passthrough failure when no interrupt pin 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 Signed-off-by: Stefano Stabellini Acked-by: Anthony PERARD --- hw/xen/xen_pt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xen/xen_pt.c b/hw/xen/xen_pt.c index f593b046e5..b6d71bb52a 100644 --- a/hw/xen/xen_pt.c +++ b/hw/xen/xen_pt.c @@ -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; }