Re: [Xen-devel] need help when libxenlight.so is used

2018-05-14 Thread Kun Cheng
Thank you, Wei. I have solved it. The error accured as 'ctx' was not correctly initailized. On Tue, May 15, 2018 at 1:11 AM Wei Liu wrote: > On Sat, May 12, 2018 at 08:55:46PM +0800, Kun Cheng wrote: > > Hello Xen devs, > > > > I'm learning code in xen-4.10.0/tools/xl to find out how to program

Re: [Xen-devel] need help when libxenlight.so is used

2018-05-14 Thread Wei Liu
On Sat, May 12, 2018 at 08:55:46PM +0800, Kun Cheng wrote: > Hello Xen devs, > > I'm learning code in xen-4.10.0/tools/xl to find out how to program with > libxl. > > I've trying to use libxenlight.so (compiled and installed from xen 4.10.0 > source code) to control my vms from my own code until

[Xen-devel] need help when libxenlight.so is used

2018-05-12 Thread Kun Cheng
Hello Xen devs, I'm learning code in xen-4.10.0/tools/xl to find out how to program with libxl. I've trying to use libxenlight.so (compiled and installed from xen 4.10.0 source code) to control my vms from my own code until I met this issue. Now my test code follows xl_vmmcontrol.c and tries to c