render / rpms / libvirt

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