On Fri, Jul 22, 2011 at 11:11 AM, Kevin Wolf <kwolf(a)redhat.com> wrote:
Am 22.07.2011 09:36, schrieb Avi Kivity:
> On 07/20/2011 04:51 PM, Kevin Wolf wrote:
>>>
>>> The problem is that QEMU will find backing file file names inside the
>>> images which it will be unable to open. How do you suggest we get around
>>> that?
>>
>> This is the part with allowing libvirt to override the backing file. Of
>> course, this is not something that we can add with five lines of code,
>> it requires -blockdev.
>
> It can be done without blockdev. Have a dictionary that translates
> filenames, and populate it from the command line (for a bonus, translate
> a filename to a file descriptor inherited from the caller or passed via
> the monitor).
Sure, you can always add ugly hacks, but it isn't the right solution
that we want to use for all times. However, once we use it, it will show
up in the external API and we'll never get rid of it again.
Fully agree. This would also be a highly specific API for QCOW2 and
similar formats.