]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
ESX add support for vmxnet3 virtual device
authorShahar Klein <shaharklein@yahoo.com>
Wed, 16 Sep 2009 10:04:49 +0000 (12:04 +0200)
committerDaniel Veillard <veillard@redhat.com>
Wed, 16 Sep 2009 10:04:49 +0000 (12:04 +0200)
* src/esx/esx_vmx.c: add it to the list of accepted devices when
  parsing the Ethernet section.

src/esx/esx_vmx.c

index 70e9305d27b976c4ee973f9897749d531d0f4381..6bd6b93880d80d115982f1824879755b484231da 100644 (file)
@@ -1409,10 +1409,11 @@ esxVMX_ParseEthernet(virConnectPtr conn, virConfPtr conf, int controller,
     if (virtualDev != NULL &&
         STRCASENEQ(virtualDev, "vlance") &&
         STRCASENEQ(virtualDev, "vmxnet") &&
+        STRCASENEQ(virtualDev, "vmxnet3") &&
         STRCASENEQ(virtualDev, "e1000")) {
         ESX_ERROR(conn, VIR_ERR_INTERNAL_ERROR,
                   "Expecting VMX entry '%s' to be 'vlance' or 'vmxnet' or "
-                  "'e1000' but found '%s'", virtualDev_name, virtualDev);
+                  "'vmxnet3' or 'e1000' but found '%s'", virtualDev_name, virtualDev);
         goto failure;
     }