]> git.ipfire.org Git - thirdparty/libvirt.git/commit
esx: Fix MAC address formatting
authorMatthias Bolte <matthias.bolte@googlemail.com>
Sat, 14 Nov 2009 18:51:05 +0000 (19:51 +0100)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Sun, 15 Nov 2009 14:22:01 +0000 (15:22 +0100)
commit645f4acafe1cd720782c8c42917f47f965875df8
treebd8e2339b6085fe347d730de149b8d711fd736db
parent4b3e19526c72ea4a692d1ab9a904fa2c9ba8a7fc
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
12 files changed:
src/esx/esx_vmx.c
tests/xml2vmxdata/xml2vmx-esx-in-the-wild-1.vmx
tests/xml2vmxdata/xml2vmx-esx-in-the-wild-2.vmx
tests/xml2vmxdata/xml2vmx-esx-in-the-wild-3.vmx
tests/xml2vmxdata/xml2vmx-esx-in-the-wild-4.vmx
tests/xml2vmxdata/xml2vmx-ethernet-bridged.vmx
tests/xml2vmxdata/xml2vmx-ethernet-custom.vmx
tests/xml2vmxdata/xml2vmx-ethernet-e1000.vmx
tests/xml2vmxdata/xml2vmx-gsx-in-the-wild-1.vmx
tests/xml2vmxdata/xml2vmx-gsx-in-the-wild-2.vmx
tests/xml2vmxdata/xml2vmx-gsx-in-the-wild-3.vmx
tests/xml2vmxdata/xml2vmx-gsx-in-the-wild-4.vmx