[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] libxl: do not ignore errors from libxl_device_pci_add_xenstore in do_pci_add



# HG changeset patch
# User Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
# Date 1298654033 0
# Node ID 23fd149c0d7631e686fc96ad55d1e8f0846a2d0e
# Parent  0ddaa54ae3dbe1326e356cb2af5f454a9ba7a297
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>
Acked-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---


diff -r 0ddaa54ae3db -r 23fd149c0d76 tools/libxl/libxl_pci.c
--- a/tools/libxl/libxl_pci.c   Fri Feb 25 17:03:55 2011 +0000
+++ b/tools/libxl/libxl_pci.c   Fri Feb 25 17:13:53 2011 +0000
@@ -718,8 +718,8 @@
         }
     }
 
-    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,

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.