 
	
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 1/2] libxl: do not ignore errors from libxl_device_pci_add_xenstore in do_pci_add
 Without this, some failures of PCI device passthrough would be
ignored.
Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
 tools/libxl/libxl_pci.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/libxl/libxl_pci.c b/tools/libxl/libxl_pci.c
index ba59650..d6457b9 100644
--- a/tools/libxl/libxl_pci.c
+++ b/tools/libxl/libxl_pci.c
@@ -718,8 +718,8 @@ out:
         }
     }
 
-    libxl_device_pci_add_xenstore(gc, domid, pcidev);
-    return 0;
+    rc = libxl_device_pci_add_xenstore(gc, domid, pcidev, starting);
+    return rc;
 }
 
 static int libxl_device_pci_reset(libxl__gc *gc, unsigned int domain, unsigned 
int bus,
-- 
1.5.6.5
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 | 
|  | Lists.xenproject.org is hosted with RackSpace, monitoring our |