mirror of https://gitee.com/openkylin/qemu.git
docs/system/deprecated: Fix note on fdc drive properties
Commit4a27a638e7
"fdc: Deprecate configuring floppies with -global isa-fdc" actually deprecated any use of floppy controller driver properties, not just with -global. Correct the deprecation note accordingly. Fixes:4a27a638e7
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: John Snow <jsnow@redhat.com> Message-id: 20210309161214.1402527-2-armbru@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
This commit is contained in:
parent
9585376ab5
commit
bd36f1fe1a
|
@ -71,10 +71,11 @@ QEMU 5.1 has three options:
|
||||||
to the user to load all the images they need.
|
to the user to load all the images they need.
|
||||||
3. ``-bios <file>`` - Tells QEMU to load the specified file as the firmwrae.
|
3. ``-bios <file>`` - Tells QEMU to load the specified file as the firmwrae.
|
||||||
|
|
||||||
``Configuring floppies with ``-global``
|
Floppy controllers' drive properties (since 5.1)
|
||||||
'''''''''''''''''''''''''''''''''''''''
|
''''''''''''''''''''''''''''''''''''''''''''''''
|
||||||
|
|
||||||
Use ``-device floppy,...`` instead:
|
Use ``-device floppy,...`` instead. When configuring onboard floppy
|
||||||
|
controllers
|
||||||
::
|
::
|
||||||
|
|
||||||
-global isa-fdc.driveA=...
|
-global isa-fdc.driveA=...
|
||||||
|
@ -97,8 +98,30 @@ become
|
||||||
|
|
||||||
-device floppy,unit=1,drive=...
|
-device floppy,unit=1,drive=...
|
||||||
|
|
||||||
``-drive`` with bogus interface type
|
When plugging in a floppy controller
|
||||||
''''''''''''''''''''''''''''''''''''
|
::
|
||||||
|
|
||||||
|
-device isa-fdc,...,driveA=...
|
||||||
|
|
||||||
|
becomes
|
||||||
|
::
|
||||||
|
|
||||||
|
-device isa-fdc,...
|
||||||
|
-device floppy,unit=0,drive=...
|
||||||
|
|
||||||
|
and
|
||||||
|
::
|
||||||
|
|
||||||
|
-device isa-fdc,...,driveB=...
|
||||||
|
|
||||||
|
becomes
|
||||||
|
::
|
||||||
|
|
||||||
|
-device isa-fdc,...
|
||||||
|
-device floppy,unit=1,drive=...
|
||||||
|
|
||||||
|
``-drive`` with bogus interface type (since 5.1)
|
||||||
|
''''''''''''''''''''''''''''''''''''''''''''''''
|
||||||
|
|
||||||
Drives with interface types other than ``if=none`` are for onboard
|
Drives with interface types other than ``if=none`` are for onboard
|
||||||
devices. It is possible to use drives the board doesn't pick up with
|
devices. It is possible to use drives the board doesn't pick up with
|
||||||
|
|
Loading…
Reference in New Issue