aboutsummaryrefslogtreecommitdiff
path: root/block/raw-posix.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2015-03-17 17:02:20 +0100
committerKevin Wolf <kwolf@redhat.com>2015-03-19 11:43:02 +0100
commit92a539d22e0da14d5395eb2c2c8bee162ebdb0b8 (patch)
tree44b2e00419c1d7ae185cbdc512095200026e22e2 /block/raw-posix.c
parentcd232acfa0d70002fed89e9293f04afda577a513 (diff)
downloadqemu-92a539d22e0da14d5395eb2c2c8bee162ebdb0b8.zip
qemu-92a539d22e0da14d5395eb2c2c8bee162ebdb0b8.tar.gz
qemu-92a539d22e0da14d5395eb2c2c8bee162ebdb0b8.tar.bz2
raw-posix: Deprecate host floppy passthrough
Raise your hand if you have a physical floppy drive in a computer you've powered on in 2015. Okay, I see we got a few weirdos in the audience. That's okay, weirdos are welcome here. Kidding aside, media change detection doesn't fully work, isn't going to be fixed, and floppy passthrough just isn't earning its keep anymore. Deprecate block driver host_floppy now, so we can drop it after a grace period. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/raw-posix.c')
-rw-r--r--block/raw-posix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/block/raw-posix.c b/block/raw-posix.c
index f0b4488..844ac21 100644
--- a/block/raw-posix.c
+++ b/block/raw-posix.c
@@ -2387,6 +2387,8 @@ static int floppy_open(BlockDriverState *bs, QDict *options, int flags,
s->fd = -1;
s->fd_media_changed = 1;
+ error_report("Host floppy pass-through is deprecated");
+ error_printf("Support for it will be removed in a future release.\n");
return 0;
}