diff options
author | Markus Armbruster <armbru@redhat.com> | 2015-03-17 17:02:20 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2015-03-19 11:43:02 +0100 |
commit | 92a539d22e0da14d5395eb2c2c8bee162ebdb0b8 (patch) | |
tree | 44b2e00419c1d7ae185cbdc512095200026e22e2 /block/raw-posix.c | |
parent | cd232acfa0d70002fed89e9293f04afda577a513 (diff) | |
download | qemu-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.c | 2 |
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; } |