From: Stefan Hajnoczi <stefanha@gmail.com>
To: Bug 1186303 <1186303@bugs.launchpad.net>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [Bug 1186303] [NEW] virtual fat do not working in qemu 1.5.0
Date: Thu, 18 Jul 2013 09:43:27 +0800 [thread overview]
Message-ID: <20130718014327.GA21598@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <20130531152647.27632.5784.malonedeb@gac.canonical.com>
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 :
>
> <disk type='dir' device='floppy'>
> <driver name='qemu' type='fat'/>
> <source dir='/mnt/vdisk/diskconf/TEST003/'/>
> <target dev='fda' bus='fdc'/>
> <readonly/>
> <alias name='fdc0-0-0'/>
> <address type='drive' controller='0' bus='0' target='0' unit='0'/>
> </disk>
>
> 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
next prev parent reply other threads:[~2013-07-18 1:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-31 15:26 [Qemu-devel] [Bug 1186303] [NEW] virtual fat do not working in qemu 1.5.0 prochazka nicolas
2013-07-17 10:56 ` [Qemu-devel] [Bug 1186303] " prochazka nicolas
2013-07-18 1:43 ` Stefan Hajnoczi [this message]
2018-01-30 21:00 ` Thomas Huth
2018-04-01 4:17 ` Launchpad Bug Tracker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130718014327.GA21598@stefanha-thinkpad.redhat.com \
--to=stefanha@gmail.com \
--cc=1186303@bugs.launchpad.net \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).