[libvirt] [PATCH] esx: use lsilogic adapter type in vol create.
Michal Privoznik
mprivozn at redhat.com
Wed May 25 14:53:22 UTC 2016
On 23.05.2016 23:31, Dawid Zamirski wrote:
> ESX will refuse to attach VMDKS that have buslogic adatper type to 64bit
> VMs whereas lsilogic works fine both 32bit and 64bit VMs.
> ---
> src/esx/esx_storage_backend_vmfs.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/esx/esx_storage_backend_vmfs.c b/src/esx/esx_storage_backend_vmfs.c
> index d03d33a..a1a660b 100644
> --- a/src/esx/esx_storage_backend_vmfs.c
> +++ b/src/esx/esx_storage_backend_vmfs.c
> @@ -966,9 +966,9 @@ esxStorageVolCreateXML(virStoragePoolPtr pool,
> /*
> * 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,
> - * default to 'busLogic' here.
> + * default to 'lsilogic' here.
> */
> - virtualDiskSpec->adapterType = (char *)"busLogic";
> + virtualDiskSpec->adapterType = (char *)"lsilogic";
>
> virtualDiskSpec->capacityKb->value =
> VIR_DIV_UP(def->target.capacity, 1024); /* Scale from byte to kilobyte */
>
ACKed and pushed.
Michal
More information about the libvir-list
mailing list