From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56647) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoZaf-0000ff-Av for qemu-devel@nongnu.org; Mon, 17 Jun 2013 09:35:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UoZaa-0008Gx-S5 for qemu-devel@nongnu.org; Mon, 17 Jun 2013 09:35:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:18847) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoZaa-0008Gr-LL for qemu-devel@nongnu.org; Mon, 17 Jun 2013 09:35:20 -0400 From: Amos Kong Date: Mon, 17 Jun 2013 21:35:09 +0800 Message-Id: <1371476111-4449-1-git-send-email-akong@redhat.com> Subject: [Qemu-devel] [PATCH 0/2] fix macaddr allocation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: stefanha@redhat.com Cc: aliguori@us.ibm.com, qemu-devel@nongnu.org, mst@redhat.com This patchset adds a check in allocating mac to new nic, it will avoid to use repeated mac. The second extends the address space. Amos Kong (2): avoid to allcate used macaddr to to new nic extend the macaddr space to 0xffffffff net/net.c | 38 ++++++++++++++++++++++++++++++++++---- 1 file changed, 34 insertions(+), 4 deletions(-) -- 1.8.1.4