. /* Get the size of the P2M table */
with more than one arguments to substitute over here.
> Subject: Re: [Xen-users] xc_memory_op not found in Xen 4.1
> From: Ian.Campbell@xxxxxxxxxx
> To: justsshary@xxxxxxxxxxx
> CC: xen-users@xxxxxxxxxxxxx
> Date: Thu, 30 Aug 2012 07:45:44 +0100
>
> 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.
>
>
>