[libvirt] [PATCH rfc 0/2] devices: filesystem: type volume

Olga Krishtal okrishtal at virtuozzo.com
Fri Jun 17 15:45:42 UTC 2016


On 08/04/16 19:39, Olga Krishtal wrote:
> In-Reply-To:
>
>
> Patches introduce the new type of filesystem device.
>
> The first patch adds the possibility to use storage pool volumes
> as a backend for filesystem, that is accesed from the guest.
> Such possibility allows to use volumes for container as a source of
> root directory.
>
> Usage:
> <devices>
>   <filesystem type='volume'>
>    <source pool='pool_name' volume='volume_name'/>
>    ...
>   <filesystem/>
>
> The second patch adds the support of filesystem type volume
> to virtuozzo containers. There is special type of volume for
> virtuozzo containers, that can be manipulated via storage api.
> Now, the volume of this type can be added to ct.xml description as
> filesystem source.
>
> However, there is a small issue with the pool/volume to path translation.
> Usuallyi, in storage pools, virStorageTranslateDiskSourcePool is used,
> but in the case of filesystem we do not have virDomainDiskDefPtr and
> and code deduplication in every driver,that uses this possibility, is unavoidable.
> eg. virStorageTranslatePoolLocal. Now I am looking for the way to avoid it somehow.

ping




More information about the libvir-list mailing list