Displaying 2 results from an estimated 2 matches for "cadfbb5".
2016 Jul 01
4
[PATCH 0/2] v2v: fix setting custom modprobe options
Hi,
due to a broken discover_modpath function, and to a wrong block for a
match statement, the modprobe options for virtio/SCSI blocks where not
written at all.
This series provides a small refactor, and the fixes.
Thanks,
--
Pino Toscano (2):
v2v: fix and implify the internal Convert_linux:discover_modpath
v2v: fix priority of match in configure_kernel_modules
v2v/convert_linux.ml | 34
2016 Jul 01
0
[PATCH 1/2] v2v: fix and implify the internal Convert_linux:discover_modpath
...ll the returned paths are absolute: they are used in
Augeas paths later on, so relative paths will not do anything useful.
---
v2v/convert_linux.ml | 30 ++++++++++--------------------
1 file changed, 10 insertions(+), 20 deletions(-)
diff --git a/v2v/convert_linux.ml b/v2v/convert_linux.ml
index cadfbb5..0296844 100644
--- a/v2v/convert_linux.ml
+++ b/v2v/convert_linux.ml
@@ -1219,28 +1219,18 @@ let rec convert ~keep_serial_console (g : G.guestfs) inspect source rcaps =
and discover_modpath () =
(* Find what /etc/modprobe.conf is called today. *)
- let modpath = ref "" in
-...