On Tue, Oct 12, 2010 at 10:13 AM, chandra shekar <chandrashekar...@gmail.com> wrote: > > Hi,everyone i have applied this patch > http://lists.nongnu.org/archive/html/qemu-devel/2010-09/msg01662.html to > qemu source and compiled my qemu source and now i like to > bring the snapshot out of the image file so i used > > > qemu-img convert -f qcow2 -O qcow2 -s one guest1.img > where: > > one -> is the snapshot i created in guest1.img and guest1.img contains > windows xp > > but i get an error > > convert: invalid option -- 's' > qemu-img: Could not open 'one'
Looks like you used your system qemu-img tool which is not compiled with the patch. Make sure to use the patched binary (./qemu-img). Stefan