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

Re: [Xen-devel] [PATCH v3-RESEND 23/28] libxl: ocaml: add disk and cdrom helper functions



On Mon, 2013-10-21 at 14:32 +0100, Rob Hoes wrote:
> +value stub_xl_device_disk_of_vdev(value ctx, value domid, value vdev)
> +{
> +     CAMLparam3(ctx, domid, vdev);
> +     libxl_device_disk disk;
> +     libxl_vdev_to_device_disk(CTX, Int_val(domid), String_val(vdev), &disk);
> +     CAMLreturn(Val_device_disk(&disk));

Needs to dispose of the C disk.

Ian.



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.