All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Snow <jsnow@redhat.com>
To: "Philippe Mathieu-Daudé" <philmd@redhat.com>
Cc: Kevin Wolf <kwolf@redhat.com>,
	Eduardo Habkost <ehabkost@redhat.com>,
	qemu-block@nongnu.org, "Michael S. Tsirkin" <mst@redhat.com>,
	Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>,
	Richard Henderson <richard.henderson@linaro.org>,
	qemu-devel <qemu-devel@nongnu.org>, Max Reitz <mreitz@redhat.com>,
	Gerd Hoffmann <kraxel@redhat.com>,
	Paolo Bonzini <pbonzini@redhat.com>
Subject: Re: [PATCH 0/7] floppy: build as modules.
Date: Tue, 17 Aug 2021 09:19:22 -0400	[thread overview]
Message-ID: <CAFn=p-ZrEkssab5kiMf5pdAyPA9frWu4AJ=VA6uZqSp9fspFjw@mail.gmail.com> (raw)
In-Reply-To: <8e1504d9-3214-ba45-1edb-6bf8ae0aa2d5@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 3055 bytes --]

On Tue, Aug 17, 2021 at 5:09 AM Philippe Mathieu-Daudé <philmd@redhat.com>
wrote:

> Hi John,
>
> On 8/16/21 11:55 PM, John Snow wrote:
> > On Thu, Aug 5, 2021 at 3:12 AM Gerd Hoffmann <kraxel@redhat.com
> > <mailto:kraxel@redhat.com>> wrote:
> >
> >     On Wed, Aug 04, 2021 at 05:19:02PM +0200, Philippe Mathieu-Daudé
> wrote:
> >     > +Mark
> >     >
> >     > On 8/4/21 4:27 PM, Gerd Hoffmann wrote:
> >     > > Some code shuffling needed beforehand due to floppy being part of
> >     > > several platforms.  While being at it also make floppy optional
> >     > > in pc machine type.
> >     >
> >     > >   floppy: move fdctrl_init_sysbus
> >     > >   floppy: move sun4m_fdctrl_init
> >     >
> >     > https://www.mail-archive.com/qemu-block@nongnu.org/msg84008.html
> >     <https://www.mail-archive.com/qemu-block@nongnu.org/msg84008.html>
> >     >
> >     > Mark suggested:
> >     >
> >     >   You may be able to simplify this further by removing the
> >     >   global legacy init functions fdctrl_init_sysbus() and
> >     >   sun4m_fdctrl_init(): from what I can see fdctrl_init_sysbus()
> >     >   is only used in hw/mips/jazz.c and sun4m_fdctrl_init() is only
> >     >   used in hw/sparc/sun4m.c so you might as well inline them or
> >     >   move the functions to the relevant files.
> >     >
> >     > I did it and plan to send during 6.2. Sounds simpler than module.
> >     > You could easily rebase your series on top (or I can include your
> >     > patches while sending).
> >
> >     Feel free to include them.  But I can also rebase when your patches
> >     landed upstream.  Your choice ;)
> >
> > What's the plan here, what are we trying to solve with this series
> > *exactly*?
> > If Phil sends his cleanups, do we still want/need the modularization
> here?
>
> Both series are orthogonal, but if my cleanups get merged first, there
> is less floppy code to modularize.
>
> > For now I'm gonna shuffle these off of my review queue and I assume I'll
> > see a respin/rebase from either you or phil during the 6.2 window, let
> > me know if this is wrong.
>
> This is OK. Probably easier for everybody if I can rebase/include Gerd's
> patches along. I'm still not convinced FDC modularization is the right
> way to go; but the PC machine is one of machines I know the less, and
> has inherited a lot of odd things, so I need to carefully audit few more
> things.
>
> I'd rather have faithful chipsets modelled. Long term I don't think
> FDC are going away from QEMU, as they are used by happy hobbyist running
> old DOS programs from the 80's. But being able to build QEMU without
> FDC would be nice indeed.
>
>
OK, Understood -- And you're right, upstream the FDC needs a bit of work
and love, because they are used and important. I just ... as you can tell,
don't have much time to give them that love myself.

*cough* *cough* *nudge* *wink*

I'll be sending a patch when 6.2 opens indicating my desire to step down
from the device.

--js

[-- Attachment #2: Type: text/html, Size: 4277 bytes --]

      reply	other threads:[~2021-08-17 13:22 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-04 14:27 [PATCH 0/7] floppy: build as modules Gerd Hoffmann
2021-08-04 14:27 ` [PATCH 1/7] floppy: move isa_fdc_get_drive_type to separate source file Gerd Hoffmann
2021-08-04 14:27 ` [PATCH 2/7] floppy: move isa_fdc_init_drives + fdctrl_init_drives Gerd Hoffmann
2021-08-04 14:27 ` [PATCH 3/7] floppy: move fdctrl_init_sysbus Gerd Hoffmann
2021-08-04 14:27 ` [PATCH 4/7] floppy: move sun4m_fdctrl_init Gerd Hoffmann
2021-08-04 14:27 ` [PATCH 5/7] floppy: move cmos_get_fd_drive_type Gerd Hoffmann
2021-08-04 14:27 ` [PATCH 6/7] floppy: build as modules Gerd Hoffmann
2021-08-04 14:27 ` [PATCH 7/7] pc: add floppy=OnOffAuto Gerd Hoffmann
2021-08-04 15:19 ` [PATCH 0/7] floppy: build as modules Philippe Mathieu-Daudé
2021-08-05  7:11   ` Gerd Hoffmann
2021-08-16 21:55     ` John Snow
2021-08-17  9:09       ` Philippe Mathieu-Daudé
2021-08-17 13:19         ` John Snow [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='CAFn=p-ZrEkssab5kiMf5pdAyPA9frWu4AJ=VA6uZqSp9fspFjw@mail.gmail.com' \
    --to=jsnow@redhat.com \
    --cc=ehabkost@redhat.com \
    --cc=kraxel@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=mark.cave-ayland@ilande.co.uk \
    --cc=mreitz@redhat.com \
    --cc=mst@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=philmd@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.