mirror of https://gitee.com/openkylin/libvirt.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.
This commit is contained in:
parent
8110d304f4
commit
3c80fac258
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue