# HG changeset patch # User Jonathan Knowles # Date 1257958551 0 # Node ID 334087e86438b03550de9c423c0c0a1057e122d0 # Parent 1e3417f2b735d86334966d2592241261d6e7bb8e Subtracts the VGA framebuffer constant (4 MiB) from the value of build_start_mem passed into the HVM domain builder, in the same way that we already subtract this constant from the value of build_max_mem. This allows us to satisfy the domain builder contract which expects that (build_start_mem <= build_max_mem) and for both memory values to *not* include framebuffer memory. Signed-off-by: Jonathan Knowles diff -r 1e3417f2b735 -r 334087e86438 ocaml/xenops/memory.ml --- a/ocaml/xenops/memory.ml Wed Nov 11 16:20:34 2009 +0000 +++ b/ocaml/xenops/memory.ml Wed Nov 11 16:55:51 2009 +0000 @@ -132,7 +132,7 @@ let extra_external_mib = 1L let build_max_mib static_max_mib = static_max_mib --- video_mib - let build_start_mib target_mib = target_mib + let build_start_mib target_mib = target_mib --- video_mib let xen_max_offset_mib = extra_internal_mib let xen_max_mib target_mib = target_mib +++ xen_max_offset_mib