aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/libxlutil.h
diff options
context:
space:
mode:
authorGeorge Dunlap <george.dunlap@eu.citrix.com>2012-04-04 16:06:42 +0100
committerGeorge Dunlap <george.dunlap@eu.citrix.com>2012-04-04 16:06:42 +0100
commit543e95e992087a26e2e4e3a1a763ffc348bb6f30 (patch)
tree64f2ebf50462c0318661a91ec14a72c514e37a6b /tools/libxl/libxlutil.h
parent8c1ba7af046fcd12d1f91ad8506a2f8f9667a7a5 (diff)
downloadxen-543e95e992087a26e2e4e3a1a763ffc348bb6f30.tar.gz
xen-543e95e992087a26e2e4e3a1a763ffc348bb6f30.tar.bz2
xen-543e95e992087a26e2e4e3a1a763ffc348bb6f30.zip
libxl: Move bdf parsing into libxlu
Config parsing functions do not properly belong in libxl. Move them into libxlu so that others can use them or not as they see fit. No functional changes. One side-effect was making public a private libxl utility function which just set the elements of a structure from the function arguments passed in. Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson.citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxl/libxlutil.h')
-rw-r--r--tools/libxl/libxlutil.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/libxl/libxlutil.h b/tools/libxl/libxlutil.h
index 620b9dbb47..1b05f4c343 100644
--- a/tools/libxl/libxlutil.h
+++ b/tools/libxl/libxlutil.h
@@ -88,6 +88,11 @@ int xlu_disk_parse(XLU_Config *cfg, int nspecs, const char *const *specs,
* resulting disk struct is used with libxl.
*/
+/*
+ * PCI specification parsing
+ */
+int xlu_pci_parse_bdf(XLU_Config *cfg, libxl_device_pci *pcidev, const char *str);
+
#endif /* LIBXLUTIL_H */