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

[Xen-API] LibXL


  • To: xen-api@xxxxxxxxxxxxx
  • From: kumara rathnavel <kumara.bsd@xxxxxxxxx>
  • Date: Tue, 22 Sep 2015 09:36:51 +0530
  • Delivery-date: Tue, 22 Sep 2015 04:07:09 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>

Hello All,

I am not able to use the library functions provided by the LibXenlight though I am able to use it through XL. I am in need to develop my own CLI . I am able to perform few basic operations like listing the VM, reboot and all. But the calls that require a structure to be filled is not functioning . I am getting a segmentation fault.Â

I have attached my code. I have also attached the system call traces file which was generated by the command truss for the command that was successful through XL and the other one that failed where I used the call directly.

Thank you....

Attachment: LIBXL Code.txt
Description: Text document

Attachment: eout
Description: Binary data

Attachment: xlout
Description: Binary data

_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

 


Rackspace

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