qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC v2 PATCH 0/4] Support sending gratuitous by guest
@ 2011-10-22  5:38 Jason Wang
  2011-10-22  5:38 ` [Qemu-devel] [RFC v2 PATCH 1/4] announce self after vm start Jason Wang
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Jason Wang @ 2011-10-22  5:38 UTC (permalink / raw)
  To: aliguori, quintela, jan.kiszka, mst, qemu-devel, blauwirbel
  Cc: pbonzini, rusty, kvm, netdev

We only track primary mac address in qemu and send rarp packets after
migration to notify the switch to update its mac address table. This
may not works when guest have complicated network configurations such
as tagged vlan or ipv6, those connection may lost or stall after
migration.

One method to handle them is snooping the network traffic in qemu and
recording use of mac, but this method would hurt performance and is
impossible for network backend such as vhost.

So in order to solve this issue, the best method is to let guest
instead of qemu to send gratuitous packet. This series first add a
model specific fucntion which can let nic model to implement its own
announce function and then implement a virtio-net specific function to
let guest send the gratitous packet.

Only basic test were done.

Comments are welcomed.

Thanks

---

Jason Wang (4):
      announce self after vm start
      net: export announce_self_create()
      net: model specific announcing support
      virtio-net: notify guest to annouce itself


 hw/virtio-net.c |   20 +++++++++++++++++++-
 hw/virtio-net.h |    2 ++
 migration.c     |    1 -
 net.c           |   31 +++++++++++++++++++++++++++++++
 net.h           |    3 +++
 savevm.c        |   40 +++++-----------------------------------
 vl.c            |    1 +
 7 files changed, 61 insertions(+), 37 deletions(-)

-- 
Jason Wang

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-10-26  6:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-22  5:38 [Qemu-devel] [RFC v2 PATCH 0/4] Support sending gratuitous by guest Jason Wang
2011-10-22  5:38 ` [Qemu-devel] [RFC v2 PATCH 1/4] announce self after vm start Jason Wang
2011-10-22  5:38 ` [Qemu-devel] [RFC v2 PATCH 2/4] net: export announce_self_create() Jason Wang
2011-10-22  5:38 ` [Qemu-devel] [RFC v2 PATCH 3/4] net: model specific announcing support Jason Wang
2011-10-22  5:39 ` [Qemu-devel] [RFC v2 PATCH 4/4] virtio-net: notify guest to annouce itself Jason Wang
2011-10-26  6:19   ` Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).