From: Shahar Klein Date: Wed, 16 Sep 2009 10:04:49 +0000 (+0200) Subject: ESX add support for vmxnet3 virtual device X-Git-Tag: v0.7.2~201 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c80fac2588cbc9e5ee7e7069e1ca4468f2359d3;p=thirdparty%2Flibvirt.git ESX add support for vmxnet3 virtual device * src/esx/esx_vmx.c: add it to the list of accepted devices when parsing the Ethernet section. --- diff --git a/src/esx/esx_vmx.c b/src/esx/esx_vmx.c index 70e9305d27..6bd6b93880 100644 --- a/src/esx/esx_vmx.c +++ b/src/esx/esx_vmx.c @@ -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; }