[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] backing_file Path
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] backing_file Path |
Date: |
Mon, 07 Nov 2011 10:17:32 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0 |
Am 07.11.2011 08:46, schrieb Zhi Hui Li:
>
> when I trace the code of qemu-img.c, I found in the image file, the
> backing_file use the relative path, I think Maybe it has some problems.
>
> for example:
>
> 1: qemu-img create -o backing_file=../xxxx aa.img 5G
>
> 2: qemu-system-x86_64 aa.img
>
> if you change aa.img's the path, the exec is wrong,it can't find the
> backing_file path, because the backing_file use the relative path,
> Could we change the relative path to the absolute path?
No, we can't. That would break compatibility of qemu-img create with
older versions. Relative paths have well-defined semantics, they are
relative to the image file.
Kevin
- [Qemu-devel] backing_file Path, Zhi Hui Li, 2011/11/07
- Re: [Qemu-devel] backing_file Path,
Kevin Wolf <=
- Re: [Qemu-devel] backing_file Path, Markus Armbruster, 2011/11/07
- Message not available
- Message not available
- [Qemu-devel] I have some questions in block , can anyone help me, thank you!, Zhi Hui Li, 2011/11/14
- Re: [Qemu-devel] I have some questions in block , can anyone help me, thank you!, Stefan Hajnoczi, 2011/11/14
- Re: [Qemu-devel] I have some questions in block , can anyone help me, thank you!, Zhi Hui Li, 2011/11/15