From: Ian Campbell Subject: [PATCH] qemu: use xc_domain_populate_physmap_exact. Date: Tue, 12 Oct 2010 15:16:27 +0100 Message-ID: <1286892988-16221-1-git-send-email-ian.campbell@citrix.com> Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Ian Campbell List-Id: xen-devel@lists.xenproject.org This new function replaces xc_domain_memory_populate_physmap. Signed-off-by: Ian Campbell --- hw/vga.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/vga.c b/hw/vga.c index ccbcda9..fbc41d4 100644 --- a/hw/vga.c +++ b/hw/vga.c @@ -2493,7 +2493,7 @@ void xen_vga_populate_vram(uint64_t vram_addr, uint32_t vga_ram_size) 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); } -- 1.5.6.5