Displaying 2 results from an estimated 2 matches for "b143710".
Did you mean:
1143710
2015 Jan 16
2
[PATCH 1/2] mllib: add simple qemu filename sanitizing function
...t calls to qemu/qemu-img with filenames provided
by the user can properly handle filenames with e.g. ':'.
---
mllib/common_utils.ml | 13 +++++++++++++
mllib/common_utils.mli | 8 ++++++++
2 files changed, 21 insertions(+)
diff --git a/mllib/common_utils.ml b/mllib/common_utils.ml
index b143710..4d3bf95 100644
--- a/mllib/common_utils.ml
+++ b/mllib/common_utils.ml
@@ -603,3 +603,16 @@ let is_directory path =
let absolute_path path =
if not (Filename.is_relative path) then path
else Sys.getcwd () // path
+
+(* Sanitizes a filename for passing it safely to qemu/qemu-img.
+ *
+ * If...
2014 Dec 04
2
[PATCH v3 0/2] v2v: When picking a default kernel, favour non-debug
Since v2:
- Use string_suffix kernel_name "-debug" || string_suffix kernel_name "-dbg"
- This requires addition of the string_suffix function and some tests