qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Jason Wang <jasowang@redhat.com>
To: aliguori@us.ibm.com, stefanha@linux.vnet.ibm.com, mst@redhat.com,
	rusty@rustcorp.com.au, qemu-devel@nongnu.org,
	quintela@redhat.com
Subject: [Qemu-devel] [V4 PATCH 0/5] Send the gratuitous packets by guest
Date: Tue, 13 Mar 2012 16:56:03 +0800	[thread overview]
Message-ID: <20120313085500.10958.92659.stgit@amd-6168-8-1.englab.nay.redhat.com> (raw)

This an update of series that let guest and qemu to be co-operated to send
gratuitous packets when needed such as after migration, loadvm and continuing.

As it's hard for qemu to track the network configuration in guest such as
bondings, vlans or ipv6. So current gratuitous may not work under those
situations.

The series first introduce a model specific function in order to let nic models
to use a device specific way to announce the link presence. With this,
virtio-net backend were modified to notify the guest (through config update
interrupt) and let guest send the gratuitous packet when needed.

---

Jason Wang (5):
      net: reset the count after rounds of announcing
      net: announce self after vm start
      net: model specific announcing support
      virtio-net: notify guest to annouce itself
      virtio-net: compat guest announce support.


 gdbstub.c       |    2 +-
 hw/pc_piix.c    |   35 +++++++++++++++++++++++++++++++++++
 hw/virtio-net.c |   19 ++++++++++++++++++-
 hw/virtio-net.h |    3 +++
 migration.c     |    5 ++---
 monitor.c       |    2 +-
 net.h           |    2 ++
 qmp.c           |    2 +-
 savevm.c        |   11 +++++++----
 sysemu.h        |    2 +-
 vl.c            |    7 +++++--
 11 files changed, 76 insertions(+), 14 deletions(-)

-- 
Jason Wang

             reply	other threads:[~2012-03-13  9:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-13  8:56 Jason Wang [this message]
2012-03-13  8:56 ` [Qemu-devel] [V4 PATCH 1/5] net: reset the count after rounds of announcing Jason Wang
2012-03-13  8:56 ` [Qemu-devel] [V4 PATCH 2/5] net: announce self after vm start Jason Wang
2012-03-13  9:18   ` Paolo Bonzini
2012-03-15  6:08     ` Jason Wang
2012-03-13 14:23   ` Michael S. Tsirkin
2012-03-15  6:11     ` Jason Wang
2012-03-13  8:56 ` [Qemu-devel] [V4 PATCH 3/5] net: model specific announcing support Jason Wang
2012-03-13 14:20   ` Michael S. Tsirkin
2012-03-13  8:56 ` [Qemu-devel] [V4 PATCH 4/5] virtio-net: notify guest to annouce itself Jason Wang
2012-03-13 14:18   ` Michael S. Tsirkin
2012-03-13 14:20   ` Michael S. Tsirkin
2012-03-13  8:56 ` [Qemu-devel] [V4 PATCH 5/5] virtio-net: compat guest announce support Jason Wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120313085500.10958.92659.stgit@amd-6168-8-1.englab.nay.redhat.com \
    --to=jasowang@redhat.com \
    --cc=aliguori@us.ibm.com \
    --cc=mst@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=quintela@redhat.com \
    --cc=rusty@rustcorp.com.au \
    --cc=stefanha@linux.vnet.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).