From: John Snow <jsnow@redhat.com>
To: "Philippe Mathieu-Daudé" <philmd@redhat.com>,
"Markus Armbruster" <armbru@redhat.com>,
"Hervé Poussineau" <hpoussin@reactos.org>
Cc: Juan Quintela <quintela@redhat.com>,
"Dr. David Alan Gilbert" <dgilbert@redhat.com>,
Thomas Huth <thuth@redhat.com>,
Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>,
Kevin Wolf <kwolf@redhat.com>,
QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] How to correctly use more than 2 floppy drives?
Date: Tue, 9 Apr 2019 13:38:42 -0400 [thread overview]
Message-ID: <6e29bbde-4271-70d2-614b-4c06a4fb079d@redhat.com> (raw)
In-Reply-To: <68660807-deb6-f08a-f714-7fa1782c70bf@redhat.com>
On 4/9/19 7:38 AM, Philippe Mathieu-Daudé wrote:
> On 4/8/19 9:30 PM, John Snow wrote:
>> On 4/8/19 1:38 AM, Markus Armbruster wrote:
>>> Hervé Poussineau <hpoussin@reactos.org> writes:
>>>
>>>> Le 05/04/2019 à 12:29, Philippe Mathieu-Daudé a écrit :
>>>>> Hi,
>>>>>
>>>>> I am trying to understand the possible values for the MAX_FD variable
>>>>> used by the floppy controller model (hw/block/fdc.c).
>
>> Out of curiosity, why?
>
> Cleaning Super I/O chipset I figured some code uses arrays of 2 elements
> while other use MAX_FD. If we want to have a build-configurable MAX_FD
> we can't simply replace "2" -> "MAX_FD" to clean the codebase, we need
> to correct various places, and fix migration.
> If we agree that MAX_FD is strictly 2, then we can clean the codebase
> and remove the MAX_FD != 2 cases (point 3/ below).
OK! I just get nervous when people start poking around floppy disks :)
It's "maintained" but really I just keep it on life support. If anyone
were to claim responsibility for it I would happily let them. As you can
guess, floppy disks are not a huge business priority for my employer and
I am not personally passionate about them, so...
I just keep it alive out of kindness and, for a time, support for
loading virtio drivers on Windows XP VMs, which is a use case that Red
Hat doesn't care about too much anymore.
>>
>> I think I'd rather have MAX_FD set to 2 and a cleaner codebase than a
>> half-working implementation for 4.
>>
>> Or, does it actually work with four? I think if Hervé wants to preserve
>> this feature it should be formalized as a device property and made to
>> work with migration ... or I am content to remove it.
>
> I understand Hervé doesn't want to preserve his attempt ("no emulated
> board took advantage of it"), and the work is safe in the git history if
> someone want to restore it (in a way that doesn't break migration).
>
> Since we all seems to agree, I prepared a series to remove it and will
> send it soon (although there is no rush).
>
> Thanks,
>
> Phil.
>
Sounds good, thank you!
WARNING: multiple messages have this Message-ID (diff)
From: John Snow <jsnow@redhat.com>
To: "Philippe Mathieu-Daudé" <philmd@redhat.com>,
"Markus Armbruster" <armbru@redhat.com>,
"Hervé Poussineau" <hpoussin@reactos.org>
Cc: Kevin Wolf <kwolf@redhat.com>, Thomas Huth <thuth@redhat.com>,
Juan Quintela <quintela@redhat.com>,
Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>,
QEMU Developers <qemu-devel@nongnu.org>,
"Dr. David Alan Gilbert" <dgilbert@redhat.com>
Subject: Re: [Qemu-devel] How to correctly use more than 2 floppy drives?
Date: Tue, 9 Apr 2019 13:38:42 -0400 [thread overview]
Message-ID: <6e29bbde-4271-70d2-614b-4c06a4fb079d@redhat.com> (raw)
Message-ID: <20190409173842.0M_hiFJACw3oJl3xFX4d7cZOhiIxNH7ZPw-AOXYohvw@z> (raw)
In-Reply-To: <68660807-deb6-f08a-f714-7fa1782c70bf@redhat.com>
On 4/9/19 7:38 AM, Philippe Mathieu-Daudé wrote:
> On 4/8/19 9:30 PM, John Snow wrote:
>> On 4/8/19 1:38 AM, Markus Armbruster wrote:
>>> Hervé Poussineau <hpoussin@reactos.org> writes:
>>>
>>>> Le 05/04/2019 à 12:29, Philippe Mathieu-Daudé a écrit :
>>>>> Hi,
>>>>>
>>>>> I am trying to understand the possible values for the MAX_FD variable
>>>>> used by the floppy controller model (hw/block/fdc.c).
>
>> Out of curiosity, why?
>
> Cleaning Super I/O chipset I figured some code uses arrays of 2 elements
> while other use MAX_FD. If we want to have a build-configurable MAX_FD
> we can't simply replace "2" -> "MAX_FD" to clean the codebase, we need
> to correct various places, and fix migration.
> If we agree that MAX_FD is strictly 2, then we can clean the codebase
> and remove the MAX_FD != 2 cases (point 3/ below).
OK! I just get nervous when people start poking around floppy disks :)
It's "maintained" but really I just keep it on life support. If anyone
were to claim responsibility for it I would happily let them. As you can
guess, floppy disks are not a huge business priority for my employer and
I am not personally passionate about them, so...
I just keep it alive out of kindness and, for a time, support for
loading virtio drivers on Windows XP VMs, which is a use case that Red
Hat doesn't care about too much anymore.
>>
>> I think I'd rather have MAX_FD set to 2 and a cleaner codebase than a
>> half-working implementation for 4.
>>
>> Or, does it actually work with four? I think if Hervé wants to preserve
>> this feature it should be formalized as a device property and made to
>> work with migration ... or I am content to remove it.
>
> I understand Hervé doesn't want to preserve his attempt ("no emulated
> board took advantage of it"), and the work is safe in the git history if
> someone want to restore it (in a way that doesn't break migration).
>
> Since we all seems to agree, I prepared a series to remove it and will
> send it soon (although there is no rush).
>
> Thanks,
>
> Phil.
>
Sounds good, thank you!
next prev parent reply other threads:[~2019-04-09 17:38 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-05 10:29 [Qemu-devel] How to correctly use more than 2 floppy drives? Philippe Mathieu-Daudé
2019-04-05 10:29 ` Philippe Mathieu-Daudé
2019-04-05 10:53 ` Dr. David Alan Gilbert
2019-04-05 10:53 ` Dr. David Alan Gilbert
2019-04-05 16:35 ` Hervé Poussineau
2019-04-05 16:35 ` Hervé Poussineau
2019-04-08 5:38 ` Markus Armbruster
2019-04-08 5:38 ` Markus Armbruster
2019-04-08 19:30 ` John Snow
2019-04-08 19:30 ` John Snow
2019-04-09 11:38 ` Philippe Mathieu-Daudé
2019-04-09 11:38 ` Philippe Mathieu-Daudé
2019-04-09 17:38 ` John Snow [this message]
2019-04-09 17:38 ` John Snow
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=6e29bbde-4271-70d2-614b-4c06a4fb079d@redhat.com \
--to=jsnow@redhat.com \
--cc=armbru@redhat.com \
--cc=dgilbert@redhat.com \
--cc=hpoussin@reactos.org \
--cc=kwolf@redhat.com \
--cc=mark.cave-ayland@ilande.co.uk \
--cc=philmd@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=quintela@redhat.com \
--cc=thuth@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).