WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] libxl: do not ignore errors from libxl_de

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] libxl: do not ignore errors from libxl_device_pci_add_xenstore in do_pci_add
From: Xen patchbot-unstable <patchbot@xxxxxxx>
Date: Sat, 26 Feb 2011 07:40:09 +0000
Delivery-date: Fri, 25 Feb 2011 23:40:37 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] libxl: do not ignore errors from libxl_device_pci_add_xenstore in do_pci_add, Xen patchbot-unstable <=