Re: RFC: APIs for managing a subset of a domain's disks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/06/2011 11:00 AM, Richard W.M. Jones wrote:
> How about just adding flags into the disk XML, eg:
> 
>   <disk>
>     ...
>     <flags>
>       <migrate>false</migrate>
>       <snapshot>false</snapshot>
>     </flags>
>   </disk>
> 
> (Don't sweat the details; the important point is that these are a
> property of the disk which is permanently attached to that disk
> through the XML).

Thanks for throwing a different perspective on this - and I think I'm
prone to agree with you (especially since with my idea I'd have to
modify the xml anyways to keep the set persistent over libvirtd
restart).  And good timing, since I haven't yet started implementing my
original alternative.

Yeah, there's still some bike-shedding that could be done on what the
xml looks like, and maybe my proposed APIs still make some sense for
being able to explicitly modify that portion of the xml in a more
convenient manner, but you've convinced me that representing it
accurately in xml is an important first step.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]