aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xlat.lst
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-08-27 14:53:39 +0100
committerKeir Fraser <keir.fraser@citrix.com>2008-08-27 14:53:39 +0100
commitd818f3cb7c0c03edb1f46874fc78aa895075b3d9 (patch)
treea87991f3ba15c9742bf5b994b39ff0cd71da274a /xen/include/xlat.lst
parent1583e7e4483c6b9e7ec6c4f36f096dc1cf858d44 (diff)
downloadxen-d818f3cb7c0c03edb1f46874fc78aa895075b3d9.tar.gz
xen-d818f3cb7c0c03edb1f46874fc78aa895075b3d9.tar.bz2
xen-d818f3cb7c0c03edb1f46874fc78aa895075b3d9.zip
hvm: Use main memory for video memory.
When creating an HVM domain, if e.g. another domain is created before qemu allocates video memory, the extra 8MB memory ballooning is not available any more, because it got consumed by the other domain. This fixes it by taking video memory from the main memory: - make hvmloader use e820_malloc to reserve some of the main memory and notify ioemu of its address through the Xen platform PCI card. - add XENMAPSPACE_mfn to the xen_add_to_physmap memory op, to allow ioemu to move the MFNs between the original position and the PCI mapping, when LFB acceleration is disabled/enabled - add a remove_from_physmap memory op, to allow ioemu to unmap it completely for the case of old guests with acceleration disabled. - add xc_domain_memory_translate_gpfn_list to libxc to allow ioemu to get the MFNs of the video memory. - have xend save the PCI memory space instead of ioemu: if a memory page is there, the guest can access it like usual memory, so xend can safely be responsible to save it. The extra benefit is that live migration will apply the logdirty optimization there too. - handle old saved images, populating the video memory from ioemu if really needed. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Diffstat (limited to 'xen/include/xlat.lst')
-rw-r--r--xen/include/xlat.lst1
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/include/xlat.lst b/xen/include/xlat.lst
index 7b9a7ad9e1..6f0b662b00 100644
--- a/xen/include/xlat.lst
+++ b/xen/include/xlat.lst
@@ -33,6 +33,7 @@
! kexec_image kexec.h
! kexec_range kexec.h
! add_to_physmap memory.h
+! remove_from_physmap memory.h
! foreign_memory_map memory.h
! memory_exchange memory.h
! memory_map memory.h