aboutsummaryrefslogtreecommitdiff
path: root/qemu-common.h
diff options
context:
space:
mode:
authorNolan <nolan@sigbus.net>2009-10-15 16:53:55 -0700
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-27 12:28:36 -0500
commit18995b9808dc48897bda6ed93ce3e978191f7251 (patch)
treee2ac79258deed330f3c25e352b728a588e1064b6 /qemu-common.h
parentff56954baf9cfab5cbbe18d10b4a09e4a17f39a8 (diff)
Send a RARP packet after migration.
Currently, after a migration qemu sends a broadcast packet to update switches' MAC->port mappings. Unfortunately, it picks a random (constant) ethertype and crosses its fingers that no one else is using it. This patch causes it to send a RARP packet instead. RARP was chosen for 2 reasons. One, it is always harmless, and will continue to be so even as new ethertypes are allocated. Two, it is what VMware ESX sends, so people who write filtering rules for switches already know about it. I also changed the code to send SELF_ANNOUNCE_ROUNDS packets, instead of SELF_ANNOUNCE_ROUNDS + 1, and added a simple backoff scheme. Signed-off-by: Nolan Leake <nolan <at> sigbus.net> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-common.h')
0 files changed, 0 insertions, 0 deletions