Message ID | 20191217163808.20068-1-philmd@redhat.com (mailing list archive) |
---|---|
Headers | show |
Series | chardev: Use QEMUChrEvent enum in IOEventHandler typedef | expand |
On 12/17/19 5:37 PM, Philippe Mathieu-Daudé wrote: > Hi, > > After this chat on #qemu IRC: > 13:20 <stsquad> so what is the difference between a IOReadHandler and IOEventHandler? > 13:25 <f4bug> stsquad: one is in-band and the other out-of-band? > 13:26 <stsquad> f4bug: ahh yes it seems so - connect/disconnect etc... > 13:27 <f4bug> see QEMUChrEvent for IOEventHandler > > I thought it might be a good opportunity to make the IOEventHandler > typedef meaning more obvious, by using the QEMUChrEvent enum. > > To be able to build I had to explicit a 'default' case when frontends > use a switch(event) case and do not handle all events. > > Then I used a coccinelle spatch to change the various IOEventHandler. > I don't think the last patch can be split, but suggestions are welcome! > > Regards, > > Phil. > > PD: I use git-publish. To avoid spamming too much, I'm using per-patch > Cc tag, after the '---' separator. This way each recipient should get > the cover and the specific patches of interests, + the last one. > > Sent with: 'git publish --suppress-cc=cccmd' While 'git-publish --verbose' show it was adding recipient from the tags: (mbox) Adding cc: ... (mbox) Adding cc: ... It still sent each patch to everybody from the cover: Server: MAIL FROM: RCPT TO: ... RCPT TO: ... Maybe the list was cached in the tag and I should have use the --override-cc flag too: --override-cc Ignore any profile or saved CC emails I apologize for the no-relevant patches I spammed you with :( > Cc: "Gonglei (Arei)" <arei.gonglei@huawei.com> > Cc: "Marc-André Lureau" <marcandre.lureau@redhat.com> > Cc: Paolo Bonzini <pbonzini@redhat.com> > Cc: "Alex Bennée" <alex.bennee@linaro.org> > Cc: "Philippe Mathieu-Daudé" <philmd@redhat.com> > Cc: Andrzej Zaborowski <balrogg@gmail.com> > Cc: Peter Maydell <peter.maydell@linaro.org> > Cc: "Michael S. Tsirkin" <mst@redhat.com> > Cc: Kevin Wolf <kwolf@redhat.com> > Cc: Max Reitz <mreitz@redhat.com> > Cc: "Edgar E. Iglesias" <edgar.iglesias@gmail.com> > Cc: Alistair Francis <alistair@alistair23.me> > Cc: Antony Pavlov <antonynpavlov@gmail.com> > Cc: Igor Mitsyanko <i.mitsyanko@gmail.com> > Cc: Fabien Chouteau <chouteau@adacore.com> > Cc: KONRAD Frederic <frederic.konrad@adacore.com> > Cc: Peter Chubb <peter.chubb@nicta.com.au> > Cc: Alberto Garcia <berto@igalia.com> > Cc: Michael Walle <michael@walle.cc> > Cc: Thomas Huth <huth@tuxfamily.org> > Cc: Joel Stanley <joel@jms.id.au> > Cc: Cornelia Huck <cohuck@redhat.com> > Cc: Halil Pasic <pasic@linux.ibm.com> > Cc: Christian Borntraeger <borntraeger@de.ibm.com> > Cc: Laurent Vivier <lvivier@redhat.com> > Cc: Amit Shah <amit@kernel.org> > Cc: Corey Minyard <minyard@acm.org> > Cc: Paul Burton <pburton@wavecomp.com> > Cc: Aleksandar Rikalo <aleksandar.rikalo@rt-rk.com> > Cc: Aurelien Jarno <aurelien@aurel32.net> > Cc: Aleksandar Markovic <amarkovic@wavecomp.com> > Cc: Palmer Dabbelt <palmer@dabbelt.com> > Cc: Sagar Karandikar <sagark@eecs.berkeley.edu> > Cc: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> > Cc: Gerd Hoffmann <kraxel@redhat.com> > Cc: Samuel Thibault <samuel.thibault@ens-lyon.org> > Cc: "Dr. David Alan Gilbert" <dgilbert@redhat.com> > Cc: Markus Armbruster <armbru@redhat.com> > Cc: Zhang Chen <chen.zhang@intel.com> > Cc: Li Zhijian <lizhijian@cn.fujitsu.com> > Cc: Jason Wang <jasowang@redhat.com> > Cc: qemu-arm@nongnu.org > Cc: qemu-block@nongnu.org > Cc: qemu-s390x@nongnu.org > Cc: qemu-riscv@nongnu.org