Received: from eggs.gnu.org ([2001:4830:134:3::10]:57741) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAJc9-0001Y3-A3 for qemu-devel@nongnu.org; Wed, 01 Jul 2015 11:07:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZAJc6-0003KZ-Ha for qemu-devel@nongnu.org; Wed, 01 Jul 2015 11:07:53 -0400 Received: from indium.canonical.com ([91.189.90.7]:34754) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAJc6-0003KH-CH for qemu-devel@nongnu.org; Wed, 01 Jul 2015 11:07:50 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1ZAJLV-0001ji-T4 for ; Wed, 01 Jul 2015 14:50:41 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id D740E2E80C2 for ; Wed, 1 Jul 2015 14:50:41 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Wed, 01 Jul 2015 14:40:49 -0000 From: Richard Jones Sender: bounces@canonical.com References: <20150701143305.15312.91565.malonedeb@wampee.canonical.com> Message-Id: <20150701144049.28315.15837.malone@gac.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1470536] Re: qemu-img incorrectly prints "qemu-img: Host floppy pass-through is deprecated" Reply-To: Bug 1470536 <1470536@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org I sent a patch to qemu-devel which should fix this. -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1470536 Title: qemu-img incorrectly prints "qemu-img: Host floppy pass-through is deprecated" Status in QEMU: New Bug description: qemu-img incorrectly prints this warning when you use /dev/fd/ to pass in file descriptors. A simple way to demonstrate this uses bash process substitution, so the following will only work if you are using bash as your shell: $ qemu-img info <( cat /dev/null ) qemu-img: Host floppy pass-through is deprecated Support for it will be removed in a future release. qemu-img: Could not open '/dev/fd/63': Could not refresh total sector cou= nt: Illegal seek The root cause is a bug in block/raw-posix.c:floppy_probe_device() where it thinks anything starting with /dev/fd is a floppy drive, which is not the case here: http://git.qemu.org/?p=3Dqemu.git;a=3Dblob;f=3Dblock/raw- posix.c;h=3Dcbe6574bf4da90a124436a40422dce3667da71e6;hb=3DHEAD#l2425 To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1470536/+subscriptions