[libvirt] [PATCH v2] Add new attribute writeout to <filesystem> element

Paolo Bonzini pbonzini at redhat.com
Thu Dec 22 16:25:49 UTC 2011


On 12/22/2011 03:20 PM, Eric Blake wrote:
>> >  Usage:
>> >  <filesystem type='mount' accessmode='passthrough' writeout='immediate'>
>> >     <source dir='/export/to/guest'/>
>> >     <target dir='mount_tag'/>
>> >  </filesystem>
> I still don't like the proposed XML.  We need to get consensus on where
> to put it, with my proposal being:
>
> <filesystem type='mount'>
>    <driver type='path' write='immediate'/>
>    <source dir='/export/to/guest'/>
>    <target dir='mount_tag'/>
> </filesystem>

Right, other types of drivers might include a userspace NFS client, or 
some kind of "artificial" filesystem.

In addition, instead of write='immediate' I suggest 
cache='writeback'/cache='writethrough'.

Paolo




More information about the libvir-list mailing list