This new function replaces xc_domain_memory_populate_physmap.
[ Compatibility note: requires xen-unstable changeset
5ec79c06b18a ]
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
for (i = 0; i < nr_pfn; i++)
pfn_list[i] = (vram_addr >> TARGET_PAGE_BITS) + i;
- if (xc_domain_memory_populate_physmap(xc_handle, domid, nr_pfn, 0, 0, pfn_list)) {
+ if (xc_domain_populate_physmap_exact(xc_handle, domid, nr_pfn, 0, 0, pfn_list)) {
fprintf(stderr, "Failed to populate video ram\n");
exit(1);
}