From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43042) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uz3XA-0007Ai-VX for qemu-devel@nongnu.org; Tue, 16 Jul 2013 07:35:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uz3X9-0002Um-Nc for qemu-devel@nongnu.org; Tue, 16 Jul 2013 07:35:08 -0400 Received: from nodalink.pck.nerim.net ([62.212.105.220]:44344 helo=paradis.irqsave.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uz3X9-0002E6-Ev for qemu-devel@nongnu.org; Tue, 16 Jul 2013 07:35:07 -0400 Date: Tue, 16 Jul 2013 13:36:49 +0200 From: =?iso-8859-1?Q?Beno=EEt?= Canet Message-ID: <20130716113648.GB5061@irqsave.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] Alternative mac address setting List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aliguori@us.ibm.com, stefanha@redhat.com Hello, I want to implement an alternative mac address setting to allow a guest u= sing virtio-net to change it's mac address by itself. The main use case is high availability setups where a slave machine take = the lead when the master is failing. (heartbeat) The thing that an alternate mac address setting would allow to do is to m= ake the switch _without_ requiring a gratuitous arp. The slave guest would simply take the master guest mac address and resume operations. I initially though about implementing a list of alternate mac address but= I fear that in this context lists are frowed upon. Do you have any advice on how to implement this feature ? Should I support old net device declaration ? What is the strict minimum changes that would need to be done to implemen= t the feature ? Best regards Beno=EEt