
4 Jan
2012
4 Jan
'12
7:52 p.m.
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