From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42659) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzdFq-0002MS-Cq for qemu-devel@nongnu.org; Wed, 17 Jul 2013 21:43:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UzdFp-00089X-4h for qemu-devel@nongnu.org; Wed, 17 Jul 2013 21:43:38 -0400 Received: from mail-wg0-x232.google.com ([2a00:1450:400c:c00::232]:36579) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzdFo-00089S-Vg for qemu-devel@nongnu.org; Wed, 17 Jul 2013 21:43:37 -0400 Received: by mail-wg0-f50.google.com with SMTP id k14so2382564wgh.17 for ; Wed, 17 Jul 2013 18:43:36 -0700 (PDT) Date: Thu, 18 Jul 2013 09:43:27 +0800 From: Stefan Hajnoczi Message-ID: <20130718014327.GA21598@stefanha-thinkpad.redhat.com> References: <20130531152647.27632.5784.malonedeb@gac.canonical.com> <20130531152647.27632.5784.malonedeb@gac.canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130531152647.27632.5784.malonedeb@gac.canonical.com> Subject: Re: [Qemu-devel] [Bug 1186303] [NEW] virtual fat do not working in qemu 1.5.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Bug 1186303 <1186303@bugs.launchpad.net> Cc: qemu-devel@nongnu.org On Fri, May 31, 2013 at 03:26:47PM -0000, prochazka nicolas wrote: > Public bug reported: > > Guest : windows Seven / XP > Qemu version : 1.5.0 > cmd line : > -drive file=fat:floppy:/mnt/vdisk/diskconf/TEST004/,if=none,id=drive-fdc0-0-0,readonly=on > generated by libvirt : > > > > > > > >
> > > works with qemu <= 1.4.1 > > with qemu 1.5.0 , guest does not see the floppy content. Thanks for reporting this bug. The vvfat block driver is not actively maintained, but you can help us track down this bug: Since it used to work in QEMU 1.4.1 you could use git-bisect(1) to identify the commit that broke vvfat. http://git-scm.com/book/en/Git-Tools-Debugging-with-Git#Binary-Search https://www.kernel.org/pub/software/scm/git/docs/git-bisect.html http://code-worrier.com/blog/git-bisect-basics/ Something along the lines of: $ git clone git://git.qemu.org/qemu.git $ cd qemu $ git bisect start $ git bisect bad master $ git bisect good v1.4.1 Then build from source and test at each bisect step: $ ./configure --target-list=x86_64-softmmu && make $ qemu -drive file=fat:floppy:... If it fails: $ git bisect bad If it succeeds: $ git bisect good At the end of the process it will tell you which commit broke vvfat. Stefan