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