[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [qemu-xen-unstable] qemu: use xc_domain_populate_physmap_exact.



commit d3c5e73eb3aeaf5f753f856a5f4b21324ec44fdc
Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Date:   Mon Oct 18 16:57:23 2010 +0100

    qemu: use xc_domain_populate_physmap_exact.
    
    This new function replaces xc_domain_memory_populate_physmap.
    
    [ Compatibility note: requires xen-unstable changeset 5ec79c06b18a ]
    
    Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
    Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
 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);
     }
--
generated by git-patchbot for /home/xen/git/qemu-xen-unstable.git

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.