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

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



On Tue, Jan 3, 2012 at 11:08 AM, Christophe Fergeau <cfergeau redhat com> 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


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