9c6c51
From 19a946157484d0c2e3af38b46401114664da3b48 Mon Sep 17 00:00:00 2001
9c6c51
Message-Id: <19a946157484d0c2e3af38b46401114664da3b48@dist-git>
9c6c51
From: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
9c6c51
Date: Wed, 25 Jul 2018 13:33:50 +0200
9c6c51
Subject: [PATCH] esx storage: Fix typo lsilogic -> lsiLogic
9c6c51
9c6c51
Commit 77298458d027db4d3e082213355e2d792f65158d changed the esx storage
9c6c51
adapter from busLogic to lsilogic, introducing a typo. Changing it back
9c6c51
to lsiLogic (with capital L) solves the issue. With this change, libvirt can now
9c6c51
create volumes in ESX again.
9c6c51
9c6c51
Thanks to Jaroslav Suchanek who figured out what was the issue in the
9c6c51
first place.
9c6c51
9c6c51
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1571759
9c6c51
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
9c6c51
(cherry picked from commit a1450d774f9412b6589418bf8bcafd12690d098a)
9c6c51
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
9c6c51
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
9c6c51
---
9c6c51
 src/esx/esx_storage_backend_vmfs.c | 4 ++--
9c6c51
 1 file changed, 2 insertions(+), 2 deletions(-)
9c6c51
9c6c51
diff --git a/src/esx/esx_storage_backend_vmfs.c b/src/esx/esx_storage_backend_vmfs.c
9c6c51
index 630a6aa8c9..bb2de4b69f 100644
9c6c51
--- a/src/esx/esx_storage_backend_vmfs.c
9c6c51
+++ b/src/esx/esx_storage_backend_vmfs.c
9c6c51
@@ -967,9 +967,9 @@ esxStorageVolCreateXML(virStoragePoolPtr pool,
9c6c51
         /*
9c6c51
          * FIXME: The adapter type is a required parameter, but there is no
9c6c51
          * way to let the user specify it in the volume XML config. Therefore,
9c6c51
-         * default to 'lsilogic' here.
9c6c51
+         * default to 'lsiLogic' here.
9c6c51
          */
9c6c51
-        virtualDiskSpec->adapterType = (char *)"lsilogic";
9c6c51
+        virtualDiskSpec->adapterType = (char *)"lsiLogic";
9c6c51
 
9c6c51
         virtualDiskSpec->capacityKb->value =
9c6c51
           VIR_DIV_UP(def->target.capacity, 1024); /* Scale from byte to kilobyte */
9c6c51
-- 
9c6c51
2.18.0
9c6c51