From: Luiz Capitulino <lcapitulino@redhat.com>
To: Kevin Wolf <kwolf@redhat.com>, qemu-devel <qemu-devel@nongnu.org>
Subject: [Qemu-devel] block: qcow2: dd segfaults qemu
Date: Wed, 31 Aug 2011 15:10:00 -0300 [thread overview]
Message-ID: <20110831151000.7bd39d52@doriath> (raw)
Hi Kevin,
Test case is:
1. Create a 100MB logical volume and create a 200MB qcow2 image on it
2. Run qemu with the following command-line:
# qemu -drive file=disks/test.img,if=virtio,cache=writeback,aio=native \
-drive file=/dev/vg_doriath/kvmtest,if=virtio -enable-kvm -m 1G \
-monitor stdio -netdev type=tap,id=guest0,script=qemu-ifup-switch \
-device virtio-net-pci,netdev=guest0 -cpu host
3. Log into the guest and run dd to write 150MB on /dev/vdb
4. The VM will stop
5. Assign extra space to the logical volume, say 200MB
6. Type 'cont' in the monitor
Qemu will crash or hang. Sometimes I also get a crash while dd is running
on step 3.
I bisected this and the culprit is:
68d100e905453ebbeea8e915f4f18a2bd4339fe8 is the first bad commit
commit 68d100e905453ebbeea8e915f4f18a2bd4339fe8
Author: Kevin Wolf <kwolf@redhat.com>
Date: Thu Jun 30 17:42:09 2011 +0200
qcow2: Use coroutines
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
:040000 040000 6b63724de0bc815f285944e4655901718a6676b1 4ebe5ba4d925821310cf3599e8bb7b95b890c7f7 M block
reply other threads:[~2011-08-31 18:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20110831151000.7bd39d52@doriath \
--to=lcapitulino@redhat.com \
--cc=kwolf@redhat.com \
--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).