block: Remove deprecated -drive geometry options
commita7aff6dd10b16b67e8b142d0c94c5d92c3fe88f6
authorKevin Wolf <kwolf@redhat.com>
Wed, 13 Jun 2018 09:01:30 +0000 (13 11:01 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 15 Jun 2018 12:49:44 +0000 (15 14:49 +0200)
tree9c6c9acb0965b98ae40bc569b27d97e72f5e991c
parentd083f954a95d37b460df0c2fbfe46ad7eb207b10
block: Remove deprecated -drive geometry options

The -drive options cyls, heads, secs and trans were deprecated in
QEMU 2.10. It's time to remove them.

hd-geo-test tested both the old version with geometry options in -drive
and the new one with -device. Therefore the code using -drive doesn't
have to be replaced there, we just need to remove the -drive test cases.
This in turn allows some simplification of the code.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
blockdev.c
hmp-commands.hx
hw/block/block.c
include/sysemu/blockdev.h
qemu-doc.texi
qemu-options.hx
tests/hd-geo-test.c