提交 a1450d77 编写于 作者: M Marcos Paulo de Souza 提交者: Michal Privoznik

esx storage: Fix typo lsilogic -> lsiLogic

Commit 77298458 changed the esx storage
adapter from busLogic to lsilogic, introducing a typo. Changing it back
to lsiLogic (with capital L) solves the issue. With this change, libvirt can now
create volumes in ESX again.

Thanks to Jaroslav Suchanek who figured out what was the issue in the
first place.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1571759Signed-off-by: NMarcos Paulo de Souza <marcos.souza.org@gmail.com>
上级 f025c1bf
...@@ -967,9 +967,9 @@ esxStorageVolCreateXML(virStoragePoolPtr pool, ...@@ -967,9 +967,9 @@ esxStorageVolCreateXML(virStoragePoolPtr pool,
/* /*
* FIXME: The adapter type is a required parameter, but there is no * FIXME: The adapter type is a required parameter, but there is no
* way to let the user specify it in the volume XML config. Therefore, * way to let the user specify it in the volume XML config. Therefore,
* default to 'lsilogic' here. * default to 'lsiLogic' here.
*/ */
virtualDiskSpec->adapterType = (char *)"lsilogic"; virtualDiskSpec->adapterType = (char *)"lsiLogic";
virtualDiskSpec->capacityKb->value = virtualDiskSpec->capacityKb->value =
VIR_DIV_UP(def->target.capacity, 1024); /* Scale from byte to kilobyte */ VIR_DIV_UP(def->target.capacity, 1024); /* Scale from byte to kilobyte */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册