Shannon Zhao 2bc22a58e1 net/net: Record usage status of mac address
Currently QEMU dynamically generates mac address for the NIC which
doesn't specify the mac address. But when we hotplug a NIC without
specifying mac address, the mac address will increase for the same NIC
along with hotplug and hot-unplug, and at last it will overflow. And if
we codeplug one NIC with mac address e.g. "52:54:00:12:34:56", then
hotplug one NIC without specifying mac address and the mac address of
the hotplugged NIC is duplicate of "52:54:00:12:34:56".

This patch add a mac_table to record the usage status and free the mac
address when the NIC is unrealized.

Signed-off-by: Shannon Zhao <zhaoshenglong@huawei.com>
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2015-05-27 10:34:07 +01:00
2015-05-08 14:11:10 +03:00
2015-05-26 11:31:03 +01:00
2015-05-26 11:31:03 +01:00
2015-04-30 13:21:42 +02:00
2015-05-11 16:25:33 +01:00
2015-05-11 08:59:07 -04:00
2015-05-14 12:15:18 -07:00
2015-05-26 11:31:03 +01:00
2015-05-20 10:23:08 +02:00
2015-04-28 15:36:09 +02:00
2015-05-22 14:13:58 -04:00
2015-04-30 16:05:48 +03:00
2015-05-08 14:11:10 +03:00
2015-04-30 16:55:16 +02:00
2015-05-11 16:25:33 +01:00
2015-05-22 17:08:01 +02:00
2015-05-11 08:59:07 -04:00
2015-05-22 15:58:22 -04:00
2015-05-14 12:15:18 -07:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%