]> xenbits.xensource.com Git - libvirt.git/commitdiff
esx: use lsilogic adapter type in vol create.
authorDawid Zamirski <dzamirski@datto.com>
Mon, 23 May 2016 21:31:57 +0000 (17:31 -0400)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 25 May 2016 14:49:49 +0000 (16:49 +0200)
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

index d03d33a3f3fa4cfee5a2489a1be5bb546048bfc7..a1a660bfec7c0963d84726237b33b32f968aa59b 100644 (file)
@@ -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 */