From: Charles Duffy <Charles_Duffy@messageone.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Global -snapshot not working where -drive ..., snapshot=on is fine
Date: Thu, 28 May 2009 13:07:47 -0500 [thread overview]
Message-ID: <gvmjt6$86m$1@ger.gmane.org> (raw)
Howdy.
Running qemu-kvm-0.10.4, I'm observing -snapshot to fail in conjunction
with -drive in cases where either creating a new qcow2 backing store
with qemu-img or using -drive ...,snapshot=on succeeds.
I'm trying to do a read-only mount of a disk image in need of ext3
journal recovery.
Running without any snapshot support (with filesystem-level permissions
allowing only read-only access to the disk), an (expected) failure
occurs when trying to write to the disk:
> EXT3-fs: INFO: recovery required on readonly filesystem.
> EXT3-fs: write access will be enabled during recovery.
> kjournald starting. Commit interval 5 seconds
> EXT3-fs: recovery complete.
> hda: dma_timer_expiry: dma status == 0x21
> hda: DMA timeout error
Running with snapshot support enabled globally via -snapshot also fails
with a timeout, this one happening earlier during drive detection:
> ide1 at 0x170-0x177,0x376 on irq 15
> hda: max request size: 128KiB
> hda: 2016 sectors (1 MB) w/256KiB Cache, CHS=2/16/63, (U)DMA
> hda: cache flushes supported
> hda:<4>hda: dma_timer_expiry: dma status == 0x61
> hda: DMA timeout error
Running against a writable qcow2 image backed by da.qcow2 works, as does
setting snapshot=on as part of the -drive specifier for da.qcow2.
Any ideas?
The full command line in use looks like the following:
/usr/bin/qemu-kvm \
-drive file=da.qcow2 \
-m 384 \
-no-reboot \
-kernel /usr/lib64/guestfs/vmlinuz.centos-5.x86_64 \
-initrd /usr/lib64/guestfs/initramfs.centos-5.x86_64.img \
-append 'panic=1 console=ttyS0 guestfs=10.0.2.4:6666' \
-nographic \
-serial stdio \
-net channel,6666:unix:/tmp/libguestfsCgbezn/sock,server,nowait \
-net user,vlan=0 -net nic,model=virtio,vlan=0
next reply other threads:[~2009-05-28 18:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-28 18:07 Charles Duffy [this message]
2009-05-28 20:23 ` [Qemu-devel] Re: Global -snapshot not working where -drive ..., snapshot=on is fine Charles Duffy
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='gvmjt6$86m$1@ger.gmane.org' \
--to=charles_duffy@messageone.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.