Use xc_hvm_param_get() instead of xc_get_hvm_param() as the latter has
been deprecated.
Signed-off-by: Aravindh Puthiyaparambil <aravindp@cisco.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
uint32_t *port)
{
void *ring_page = NULL;
- unsigned long pfn;
+ uint64_t pfn;
xen_pfn_t ring_pfn, mmap_pfn;
unsigned int op, mode;
int rc1, rc2, saved_errno;
}
/* Get the pfn of the ring page */
- rc1 = xc_get_hvm_param(xch, domain_id, param, &pfn);
+ rc1 = xc_hvm_param_get(xch, domain_id, param, &pfn);
if ( rc1 != 0 )
{
PERROR("Failed to get pfn of ring page\n");