[libvirt] [libvirt-glib] Ability to create new domains

Zeeshan Ali (Khattak) zeeshanak at gnome.org
Tue Sep 27 11:59:11 UTC 2011


On Tue, Sep 27, 2011 at 11:56 AM, Daniel P. Berrange
<berrange at redhat.com> wrote:
> Since the return value is annotated '(transfer full)' you need
> todo 'g_object_ref(domain)' before putting it into the hash table,
> since the hash needs to keep hold of a reference. Also you want
> to have a g_mutex_lock/unlock either side of use of the hash
> table.

  K, ACK otherwise?

-- 
Regards,

Zeeshan Ali (Khattak)
FSF member#5124




More information about the libvir-list mailing list