[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC v2 PATCH 1/6] block: add support functions for liv
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [RFC v2 PATCH 1/6] block: add support functions for live commit, to find and delete images. |
Date: |
Thu, 06 Sep 2012 08:58:46 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120828 Thunderbird/15.0 |
On 09/06/2012 07:23 AM, Kevin Wolf wrote:
> Am 30.08.2012 20:47, schrieb Jeff Cody:
>> Add bdrv_find_child(), and bdrv_delete_intermediate().
>>
>> bdrv_find_child(): given 'bs' and the active (topmost) BDS of an image
>> chain,
>> find the image that is the immediate top of 'bs'
>>
>> bdrv_delete_intermediate():
> At first, when just reading the function name, I thought this would
> actually delete the image file. Of course, it only removes it from the
> backing file chain, but leaves the image file around. I don't have a
> good suggestion, but if someone has a better name, I think we should
> change it.
Maybe bdrv_unchain_intermediate()?
--
Eric Blake address@hidden +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature