diff options
author | Matthias Bolte <matthias.bolte@googlemail.com> | 2009-11-14 19:51:05 +0100 |
---|---|---|
committer | Matthias Bolte <matthias.bolte@googlemail.com> | 2009-11-15 15:22:01 +0100 |
commit | 645f4acafe1cd720782c8c42917f47f965875df8 (patch) | |
tree | bd8e2339b6085fe347d730de149b8d711fd736db /tests/xml2vmxdata/xml2vmx-ethernet-custom.vmx | |
parent | 4b3e19526c72ea4a692d1ab9a904fa2c9ba8a7fc (diff) | |
download | libvirt-645f4acafe1cd720782c8c42917f47f965875df8.tar.gz |
esx: Fix MAC address formatting
VMware uses two MAC address prefixes: 00:0c:29 and 00:50:56. The 00:0c:29
prefix is used for ESX server generated addresses. The 00:50:56 prefix is
split into two parts. MAC addresses above 00:50:56:3f:ff:ff are generated
by a vCenter. The rest of the 00:50:56 prefix can be assigned manually.
Any MAC address within the 00:0c:29 and 00:50:56 prefix can be specified
in a domain XML config and the driver will handle the details internally.
* src/esx/esx_vmx.c: fix MAC address formatting
* tests/xml2vmxdata/*: update test files accordingly
Diffstat (limited to 'tests/xml2vmxdata/xml2vmx-ethernet-custom.vmx')
-rw-r--r-- | tests/xml2vmxdata/xml2vmx-ethernet-custom.vmx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/xml2vmxdata/xml2vmx-ethernet-custom.vmx b/tests/xml2vmxdata/xml2vmx-ethernet-custom.vmx index cc42140b1d..fb4b116f3f 100644 --- a/tests/xml2vmxdata/xml2vmx-ethernet-custom.vmx +++ b/tests/xml2vmxdata/xml2vmx-ethernet-custom.vmx @@ -9,5 +9,5 @@ ethernet0.present = "true" ethernet0.networkName = "VM Network" ethernet0.connectionType = "custom" ethernet0.vnet = "vmnet7" -ethernet0.addressType = "generated" -ethernet0.generatedAddress = "00:50:56:11:22:33" +ethernet0.addressType = "static" +ethernet0.address = "00:50:56:11:22:33" |