Displaying 1 result from an estimated 1 matches for "libxl_create_pci_backend_device".
2011 Jan 25
2
[PATCH] libxl: fix segfault on device assignement
...eu.citrix.com>
diff -r b05892ff0fce tools/libxl/libxl_pci.c
--- a/tools/libxl/libxl_pci.c Tue Jan 25 15:14:52 2011 +0000
+++ b/tools/libxl/libxl_pci.c Tue Jan 25 15:34:43 2011 +0000
@@ -268,7 +268,7 @@ static int libxl_create_pci_backend(libx
for (i = 0; i < num; i++, pcidev++)
libxl_create_pci_backend_device(gc, back, i, pcidev);
- flexarray_vappend(back, "num_devs", libxl__sprintf(gc, "%d", num));
+ flexarray_vappend(back, "num_devs", libxl__sprintf(gc, "%d", num), NULL);
flexarray_vappend(front,
"backend-id", libx...