]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/xen_common.h
xen: Introduce the Xen mapcache
[mirror_qemu.git] / hw / xen_common.h
index 47b8afea028089cc7ba0fe488fa53972c660bf99..dd3e896e942bb6edde023b10fc59e2988726b56b 100644 (file)
@@ -63,6 +63,15 @@ static inline int xc_fd(int xen_xc)
 }
 
 
+static inline int xc_domain_populate_physmap_exact
+    (XenXC xc_handle, uint32_t domid, unsigned long nr_extents,
+     unsigned int extent_order, unsigned int mem_flags, xen_pfn_t *extent_start)
+{
+    return xc_domain_memory_populate_physmap
+        (xc_handle, domid, nr_extents, extent_order, mem_flags, extent_start);
+}
+
+
 /* Xen 4.1 */
 #else