Re: [libvirt-glib 2/2] Overwrite attributes in GVirObject::set_attribute

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

 



On Tue, Jan 3, 2012 at 11:08 AM, Christophe Fergeau <cfergeau@xxxxxxxxxx> wrote:
> Zeeshan reported an issue where calling
> gvir_config_domain_disk_set_target_dev several times would result in
> duplicated 'dev' attributes in the resulting XML instead of overwriting
> the existing 'dev' attribute. Since there are no cases interesting to
> libvirt-gconfig where having several attributes with the same name is
> useful, when calling gvir_config_object_set_attribute*, we can just
> remove attributes with the same names as the one we are setting.

  And Zeeshan tested this and ACKs. :)

-- 
Regards,

Zeeshan Ali (Khattak)
FSF member#5124

--
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]