From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
To: Vladislav Yasevich <vyasevic@redhat.com>
Cc: qemu-devel@nongnu.org, quintela@redhat.com, germano@redhat.com,
lvivier@redhat.com, jasowang@redhat.com, jdenemar@redhat.com,
kashyap@redhat.com, armbru@redhat.com, mst@redhat.com
Subject: Re: [Qemu-devel] [PATCH 00/12] self-announce updates
Date: Wed, 31 May 2017 11:29:28 +0100 [thread overview]
Message-ID: <20170531102928.GG2141@work-vm> (raw)
In-Reply-To: <1495649128-10529-1-git-send-email-vyasevic@redhat.com>
* Vladislav Yasevich (vyasevic@redhat.com) wrote:
> This work a consolidation of the work by David Gilbert, Germano
> Veit Michel and myself.
>
> It started out with David wanting to parametirize self-announcments
> so that the user may control how often annoucment packets (RARPs)
> were generated by Qemu.
>
> At about the same time, Germano wanted to expose qemu_announce_self()
> through a QMP command, to solve the issues of running qemu with a
> bond device as an uplink in the bridge. In this case, when there was
> failover event in the bond, we want a way to trigger qemu to announce
> itslef to make traffic flow to a different port in the bond.
> As an extension of this work, I propsed a expose annoucement capabilities
> in devices (like virtio-net) and consolidate the announcemnts.
>
> This series is all of the above wraped together with a bunch of
> modifications.
>
> To begin with, I've separated the annocement parameters from migration
> as they are now not migration specific. I am also providing a way
> to set and retrieve current annoucemet values (like initial and max
> timeouts, number of annoucments, etc..)
>
> The series converts migration annoucement (including virito-net) to
> use the new parameters, but allows virtio-net to manage its own timer
> mainly due to the fact that it's running on a different clock and
> finding a new place to call qemu_announce_self() didn't yeild good
> results.
>
> We expose qemu-announce-self() through QMP and HMP and add unit tests
> for all new commands.
>
> And finally, this series limites the number of timers that can be
> created through the new commands, and have the ability to reset
> currently runing timers.
Thanks,
I think this is a pretty nice collection; I've commented on most
of the patches individually - nothing too major.
Dave
> Thanks
>
> Vladislav Yasevich (12):
> migration: Introduce announce parameters
> migration: Introduce announcement timer
> migration: Switch to using announcement timer
> net: Add a network device specific self-announcement ability
> virtio-net: Allow qemu_announce_self to trigger virtio announcements
> qmp: Expose qemu_announce_self as a qmp command
> migration: Allow for a limited number of announce timers
> announce_timer: Add ability to reset an existing timer
> hmp: add announce paraters info/set
> hmp: Add hmp_announce_self
> tests/test-hmp: Add announce parameter tests
> tests: Add a test for qemu self announcments
>
> hmp-commands-info.hx | 13 +++
> hmp-commands.hx | 28 ++++++
> hmp.c | 91 +++++++++++++++++++
> hmp.h | 5 +
> hw/net/virtio-net.c | 58 +++++++++---
> include/hw/virtio/virtio-net.h | 3 +-
> include/migration/vmstate.h | 32 +++++--
> include/net/net.h | 2 +
> include/sysemu/sysemu.h | 16 +++-
> migration/migration.c | 2 +-
> migration/savevm.c | 201 ++++++++++++++++++++++++++++++++++++++---
> monitor.c | 18 ++++
> qapi-schema.json | 103 +++++++++++++++++++++
> tests/Makefile.include | 2 +
> tests/test-announce-self.c | 78 ++++++++++++++++
> tests/test-hmp.c | 2 +
> 16 files changed, 617 insertions(+), 37 deletions(-)
> create mode 100644 tests/test-announce-self.c
>
> --
> 2.7.4
>
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
prev parent reply other threads:[~2017-05-31 10:29 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-24 18:05 [Qemu-devel] [PATCH 00/12] self-announce updates Vladislav Yasevich
2017-05-24 18:05 ` [Qemu-devel] [PATCH 01/12] migration: Introduce announce parameters Vladislav Yasevich
2017-05-26 4:03 ` Jason Wang
2017-05-26 13:06 ` Vlad Yasevich
2017-05-30 18:57 ` Dr. David Alan Gilbert
2017-06-01 7:02 ` Jason Wang
2017-06-01 13:45 ` Vlad Yasevich
2017-06-01 14:02 ` Dr. David Alan Gilbert
2017-05-26 13:08 ` Eric Blake
2017-05-26 13:17 ` Vlad Yasevich
2017-05-30 9:58 ` Juan Quintela
2017-05-30 13:45 ` Vlad Yasevich
2017-05-30 19:08 ` Dr. David Alan Gilbert
2017-05-24 18:05 ` [Qemu-devel] [PATCH 02/12] migration: Introduce announcement timer Vladislav Yasevich
2017-05-26 4:13 ` Jason Wang
2017-05-30 10:00 ` Juan Quintela
2017-05-24 18:05 ` [Qemu-devel] [PATCH 03/12] migration: Switch to using " Vladislav Yasevich
2017-05-26 4:16 ` Jason Wang
2017-05-26 13:01 ` Vlad Yasevich
2017-05-30 10:10 ` Juan Quintela
2017-05-30 13:46 ` Vlad Yasevich
2017-05-30 19:19 ` Dr. David Alan Gilbert
2017-05-30 19:34 ` Vlad Yasevich
2017-05-24 18:05 ` [Qemu-devel] [PATCH 04/12] net: Add a network device specific self-announcement ability Vladislav Yasevich
2017-05-26 4:17 ` Jason Wang
2017-05-24 18:05 ` [Qemu-devel] [PATCH 05/12] virtio-net: Allow qemu_announce_self to trigger virtio announcements Vladislav Yasevich
2017-05-26 4:21 ` Jason Wang
2017-05-24 18:05 ` [Qemu-devel] [PATCH 06/12] qmp: Expose qemu_announce_self as a qmp command Vladislav Yasevich
2017-05-26 13:16 ` Eric Blake
2017-05-26 13:19 ` Vlad Yasevich
2017-05-30 10:11 ` Juan Quintela
2017-05-30 13:49 ` Vlad Yasevich
2017-05-30 14:24 ` Juan Quintela
2017-05-30 14:43 ` Vlad Yasevich
2017-05-30 14:14 ` Daniel P. Berrange
2017-05-30 15:01 ` Vlad Yasevich
2017-05-24 18:05 ` [Qemu-devel] [PATCH 07/12] migration: Allow for a limited number of announce timers Vladislav Yasevich
2017-05-30 10:13 ` Juan Quintela
2017-05-30 19:31 ` Dr. David Alan Gilbert
2017-05-24 18:05 ` [Qemu-devel] [PATCH 08/12] announce_timer: Add ability to reset an existing Vladislav Yasevich
2017-05-30 10:15 ` Juan Quintela
2017-05-30 19:35 ` Dr. David Alan Gilbert
2017-05-30 20:01 ` Vlad Yasevich
2017-05-24 18:05 ` [Qemu-devel] [PATCH 09/12] hmp: add announce paraters info/set Vladislav Yasevich
2017-05-30 10:18 ` Juan Quintela
2017-05-30 13:57 ` Vlad Yasevich
2017-05-24 18:05 ` [Qemu-devel] [PATCH 10/12] hmp: Add hmp_announce_self Vladislav Yasevich
2017-05-31 9:47 ` Dr. David Alan Gilbert
2017-05-24 18:05 ` [Qemu-devel] [PATCH 11/12] tests/test-hmp: Add announce parameter tests Vladislav Yasevich
2017-05-31 9:53 ` Dr. David Alan Gilbert
2017-05-24 18:05 ` [Qemu-devel] [PATCH 12/12] tests: Add a test for qemu self announcments Vladislav Yasevich
2017-05-24 18:19 ` [Qemu-devel] [PATCH 00/12] self-announce updates no-reply
2017-05-24 18:38 ` no-reply
2017-05-24 18:40 ` no-reply
2017-05-31 10:29 ` Dr. David Alan Gilbert [this message]
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=20170531102928.GG2141@work-vm \
--to=dgilbert@redhat.com \
--cc=armbru@redhat.com \
--cc=germano@redhat.com \
--cc=jasowang@redhat.com \
--cc=jdenemar@redhat.com \
--cc=kashyap@redhat.com \
--cc=lvivier@redhat.com \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=quintela@redhat.com \
--cc=vyasevic@redhat.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).