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

Re: [Xen-users] xc_memory_op not found in Xen 4.1



On Thu, 2012-08-30 at 02:24 +0100, S. Shary wrote:
> Hi,
> 
> I am trying to compile a program on Xen 4.1 which was working with Xen
> 3.4 . 
> I am getting an error when g++ compiler tries to compile the following
> line:
> 
> *max_mfn = xc_memory_op(xc_handle, XENMEM_maximum_ram_page, NULL);
> 
> 
> Error is:
> 
> error: âxc_memory_opâ was not declared in this scope
> 
> 
> I have searched in all the header files of libXen but I couldn't find
> this function. Is this function deprecated? If it is then what is the
> alternate in Xen 4.1?

You should use the specific function for the op you are interested in
(in this case xc_maximum_ram_page) rather than the lower level function
(which is now internal).

Ian.




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

 


Rackspace

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