mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
esx: use lsilogic adapter type in vol create.
ESX will refuse to attach VMDKS that have buslogic adatper type to 64bit VMs whereas lsilogic works fine both 32bit and 64bit VMs.
This commit is contained in:
parent
a1c9a81a31
commit
77298458d0
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user