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.
This commit is contained in:
Shahar Klein 2009-09-16 12:04:49 +02:00 committed by Daniel Veillard
parent 8110d304f4
commit 3c80fac258
1 changed files with 2 additions and 1 deletions

View 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;
}