render / rpms / libvirt

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