[Libguestfs] [PATCH] supermin: Fix IBM Virtual SCSI driver name

Gustavo Luiz Duarte
2020-04-01T02:11:44Z

The driver was renamed from ibmvscsic to ibmvscsi on kernel 3.7.
See
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9965c2f19be470c452357ae4f6304467cdeada55

The old name is kept so supermin works with recent kernels as well as kernel
version older than 3.7.
---
 src/format_ext2_initrd.ml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/format_ext2_initrd.ml b/src/format_ext2_initrd.ml
index b67bb55..38977e6 100644
--- a/src/format_ext2_initrd.ml
+++ b/src/format_ext2_initrd.ml
@@ -44,6 +44,7 @@ let kmods = [
   "crc*.ko*";
   "libcrc*.ko*";
   "ibmvscsic.ko*";
+  "ibmvscsi.ko*";
   "libnvdimm.ko*";
   "nd_pmem.ko*";
   "nd_btt.ko*";
--
2.21.1