blockdev: Print a warning for legacy drive options that belong to -device
commitc616f16e0c9a2d0b2f13785d37ca0f18d54d571f
authorThomas Huth <thuth@redhat.com>
Fri, 12 May 2017 10:33:49 +0000 (12 12:33 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 10 Jul 2017 11:18:06 +0000 (10 13:18 +0200)
treedee8dfb99b0445021ab925c46d86cf0e5625f204
parent6b4df5483333fc6ad950aadba8194f04ff450197
blockdev: Print a warning for legacy drive options that belong to -device

We likely do not want to carry these legacy -drive options along forever.
Let's emit a deprecation warning for the -drive options that have a
replacement with the -device option, so that the (hopefully few) remaining
users are aware of this and can adapt their scripts / behaviour accordingly.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
blockdev.c
qemu-options.hx