]> xenbits.xensource.com Git - qemu-xen-4.6-testing.git/commitdiff
qemu: use xc_domain_populate_physmap_exact.
authorIan Jackson <ian.jackson@eu.citrix.com>
Mon, 18 Oct 2010 15:57:23 +0000 (16:57 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 18 Oct 2010 15:57:23 +0000 (16:57 +0100)
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>
hw/vga.c

index ccbcda942614f6fac7508b51ad6599fef58ae1ef..fbc41d4786f91cdadf951d92b5f5d5e53b33e1b1 100644 (file)
--- 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);
     }