Re: [libvirt-glib 4/5] Allow unsetting of string & object properties

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

 



Hey,

I've split this patch in 2 to make it more digestable. First one is
unchanged and only contains the gvir_config_object_set_node_content
changes
The 2nd one only has the gvir_config_object_attach_replace changes,
and it has some changes: I reordered the parameter to _attach_replace to
make the order similar to most other functions, and I changed the
GVIR_CONFIG_OBJECT() casts to (GVirConfigObject *) otherwise we'd get a
runtime check when passing a NULL pointer.

gvir_config_domain_set_devices could try to unref a NULL pointer, I've
changed that, and gvir_config_domain_set_clock was still rejecting NULL
klock parameters through a g_return_val_if_fail.

I've dropped the gvir_config_domain_source_pty_set_path change for now
since there are other places where _replace_child_with_attribute is used
and could handle NULL pointers as well.

ACK on these 2 patches, but you should review the 2nd one for obvious
mistakes.

Christophe

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