[libvirt] [libvirt-glib] API to save and suspend
Zeeshan Ali (Khattak)
zeeshanak at gnome.org
Tue Jan 3 15:22:24 UTC 2012
On Tue, Jan 3, 2012 at 5:08 PM, Zeeshan Ali (Khattak)
<zeeshanak at gnome.org> wrote:
> From: "Zeeshan Ali (Khattak)" <zeeshanak at gnome.org>
> + res = g_simple_async_result_new(G_OBJECT(dom),
> + callback,
> + user_data,
> + gvir_domain_saved_suspend);
> + g_simple_async_result_set_op_res_gpointer (res, data, NULL);
The reason I'm not using destroy notify argument here is that I
can't: g_slice_free*() takes 2 arguments and thats not what
DestroyNotify expects. I could write a wrapper function but I don't
see the point.
--
Regards,
Zeeshan Ali (Khattak)
FSF member#5124
More information about the libvir-list
mailing list