Re: [libvirt-glib] Keep domain devices list sorted

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

 



On 03/06/2012 03:27 PM, Zeeshan Ali (Khattak) wrote:
> From: "Zeeshan Ali (Khattak)" <zeeshanak@xxxxxxxxx>
> 
> While we don't guarantee the order of devices in the list returned from
> gvir_domain_get_devices(), its not a bad idea to keep them sorted the
> same way we get them from configuration (XML).

Actually, if I understand things right, preserving order _is_ important
to guarantee.  For example, with older XML that lacked per-device <boot
order='n'/>, libvirt would determine which order devices are presented
to guest BIOS boot order based on their position within XML.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-919-301-3266
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]