qemu/docs/system
Markus Armbruster a1b40bda08 blockdev: Deprecate -drive with bogus interface type
Drives with interface types other than if=none are for onboard
devices.  Unfortunately, any such drives the board doesn't pick up can
still be used with -device, like this:

    $ qemu-system-x86_64 -nodefaults -display none -S -drive if=floppy,id=bogus,unit=7 -device ide-cd,drive=bogus -monitor stdio
    QEMU 5.0.50 monitor - type 'help' for more information
    (qemu) info block
    bogus: [not inserted]
	Attached to:      /machine/peripheral-anon/device[0]
	Removable device: not locked, tray closed
    (qemu) info qtree
    bus: main-system-bus
      type System
      [...]
	    bus: ide.1
	      type IDE
	      dev: ide-cd, id ""
--->		drive = "bogus"
		[...]
		unit = 0 (0x0)
      [...]

This kind of abuse has always worked.  Deprecate it:

    qemu-system-x86_64: -drive if=floppy,id=bogus,unit=7: warning: bogus if=floppy is deprecated, use if=none

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20200622094227.1271650-9-armbru@redhat.com>
2020-06-23 16:07:07 +02:00
..
arm docs/system: Document Aspeed boards 2020-06-05 17:23:09 +01:00
s390x docs/s390x: fix vfio-ap device_del description 2020-06-18 12:14:06 +02:00
build-platforms.rst
conf.py docs: Generate qemu.1 manpage with Sphinx 2020-03-06 11:06:55 +00:00
cpu-models-mips.rst.inc
cpu-models-x86.rst.inc qemu-cpu-models.rst: Document -noTSX, mds-no, taa-no, and tsx-ctrl 2020-03-16 23:02:25 +01:00
deprecated.rst blockdev: Deprecate -drive with bogus interface type 2020-06-23 16:07:07 +02:00
device-url-syntax.rst.inc
gdb.rst docs: Improve our gdbstub documentation 2020-04-14 13:15:40 +01:00
images.rst
index.rst Documentation: create/move s390x documentation 2020-03-23 12:36:27 +01:00
invocation.rst
ivshmem.rst
keys.rst
keys.rst.inc
license.rst
linuxboot.rst
managed-startup.rst
monitor.rst
mux-chardev.rst
mux-chardev.rst.inc
net.rst
qemu-block-drivers.rst
qemu-block-drivers.rst.inc
qemu-cpu-models.rst
qemu-manpage.rst docs: Generate qemu.1 manpage with Sphinx 2020-03-06 11:06:55 +00:00
quickstart.rst
security.rst
target-arm.rst docs/system: Document Aspeed boards 2020-06-05 17:23:09 +01:00
target-i386-desc.rst.inc
target-i386.rst
target-m68k.rst
target-mips.rst hw/mips/fuloong2e: Fix typo in Fuloong machine name 2020-05-26 13:20:48 +02:00
target-ppc.rst
target-s390x.rst docs/s390x: document vfio-ccw 2020-06-05 17:13:11 +02:00
target-sparc64.rst
target-sparc.rst
target-xtensa.rst
targets.rst Documentation: create/move s390x documentation 2020-03-23 12:36:27 +01:00
tls.rst
usb.rst
vnc-security.rst