mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-15 09:53:44 -06:00
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 &&
|
if (virtualDev != NULL &&
|
||||||
STRCASENEQ(virtualDev, "vlance") &&
|
STRCASENEQ(virtualDev, "vlance") &&
|
||||||
STRCASENEQ(virtualDev, "vmxnet") &&
|
STRCASENEQ(virtualDev, "vmxnet") &&
|
||||||
|
STRCASENEQ(virtualDev, "vmxnet3") &&
|
||||||
STRCASENEQ(virtualDev, "e1000")) {
|
STRCASENEQ(virtualDev, "e1000")) {
|
||||||
ESX_ERROR(conn, VIR_ERR_INTERNAL_ERROR,
|
ESX_ERROR(conn, VIR_ERR_INTERNAL_ERROR,
|
||||||
"Expecting VMX entry '%s' to be 'vlance' or 'vmxnet' or "
|
"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;
|
goto failure;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user