[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: qcow2 relative paths
From: |
Jan Kiszka |
Subject: |
[Qemu-devel] Re: qcow2 relative paths |
Date: |
Wed, 15 Jul 2009 23:14:32 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
Jamie Lokier wrote:
> Ram Pai wrote:
>> I have successfully verified qcow2 files. But then I may not be trying
>> out the exact thing that you are talking about. Can you give me a test
>> case that I can verify.
>
> Commands tried with qemu-0.10.0-1ubuntu1:
>
> $ mkdir unlikely_subdir
> $ cd unlikely_subdir
> $ qemu-img create -f qcow2 backing.img 10
> Formatting 'backing.img', fmt=qcow2, size=10 kB
> $ qemu-img create -f qcow2 -b ../unlikely_subdir/backing.img main.img 10
> Formatting 'main.img', fmt=qcow2,
> backing_file=../unlikely_subdir/backing.img, size=10 kB
> $ cd ..
> $ qemu-img info unlikely_subdir/main.img
> image: unlikely_subdir/main.img
> file format: qcow2
> virtual size: 10K (10240 bytes)
> disk size: 16K
> cluster_size: 4096
> highest_alloc: 16384
> backing file: ../unlikely_subdir/backing.img (actual path:
> unlikely_subdir/../unlikely_subdir/backing.img)
>
> See especially the "actual path" line.
>
> $ mv unlikely_subdir other_subdir
> $ ls -l other_subdir
> total 32
> -rw-r--r-- 1 jamie jamie 16384 2009-07-15 21:59 backing.img
> -rw-r--r-- 1 jamie jamie 16384 2009-07-15 21:59 main.img
> $ qemu-img info other_subdir/main.img
> qemu-img: Could not open 'other_subdir/main.img'
>
> What an unhelpful error message... There isn't even a way to find out
> the backing file path which the tool is looking for.
strace :p
But I feel your pain. This screams for better error reporting.
>
>> And one other thing. Let me know if there a test-suite that I can try
>> for regressions.
>
> Sorry, I don't know anything about any QEMU test suites.
There is kvm autotest, but that's testing at a coarser level. Well,
Anthony promised to push some unit test framework for QEMU...
Jan
signature.asc
Description: OpenPGP digital signature
- Re: [Qemu-devel] [PATCH] rev3: support colon in filenames, (continued)
- Re: [Qemu-devel] [PATCH] rev3: support colon in filenames, Kevin Wolf, 2009/07/02
- [Qemu-devel] [PATCH] rev4: support colon in filenames, Ram Pai, 2009/07/08
- [Qemu-devel] Re: [PATCH] rev4: support colon in filenames, Jan Kiszka, 2009/07/08
- [Qemu-devel] Re: [PATCH] rev4: support colon in filenames, Anthony Liguori, 2009/07/10
- [Qemu-devel] [PATCH] rev5: support colon in filenames, Ram Pai, 2009/07/15
- [Qemu-devel] Re: [PATCH] rev5: support colon in filenames, Jan Kiszka, 2009/07/15
- [Qemu-devel] Re: [PATCH] rev5: support colon in filenames, Ram Pai, 2009/07/15
- Re: [Qemu-devel] Re: [PATCH] rev5: support colon in filenames, Jamie Lokier, 2009/07/15
- Re: [Qemu-devel] Re: [PATCH] rev5: support colon in filenames, Ram Pai, 2009/07/15
- [Qemu-devel] qcow2 relative paths (was: [PATCH] rev5: support colon in filenames), Jamie Lokier, 2009/07/15
- [Qemu-devel] Re: qcow2 relative paths,
Jan Kiszka <=
- [Qemu-devel] Re: qcow2 relative paths (was: [PATCH] rev5: support colon in filenames), Ram Pai, 2009/07/15
- [Qemu-devel] Re: qcow2 relative paths, Kevin Wolf, 2009/07/16
- [Qemu-devel] Re: qcow2 relative paths, Ram Pai, 2009/07/16
- [Qemu-devel] [PATCH] rev6: support colon in filenames, Ram Pai, 2009/07/16
- [Qemu-devel] [PATCH] rev7: support colon in filenames, Ram Pai, 2009/07/17
- [Qemu-devel] Re: [PATCH] rev7: support colon in filenames, Kevin Wolf, 2009/07/21
- Re: [Qemu-devel] [PATCH] rev5: support colon in filenames, Blue Swirl, 2009/07/15
- Re: [Qemu-devel] [PATCH] rev5: support colon in filenames, Anthony Liguori, 2009/07/15
- Re: [Qemu-devel] [PATCH] rev5: support colon in filenames, Blue Swirl, 2009/07/15
- Re: [Qemu-devel] [PATCH] rev5: support colon in filenames, Anthony Liguori, 2009/07/15