From: "KUWAMURA Shin'ya" Subject: Re: stdvga + videoram config option Date: Mon, 25 May 2009 11:09:52 +0900 (JST) Message-ID: <20090525.110952.139538434.kuwa@jp.fujitsu.com> References: <4A15424D.1020507@eu.citrix.com> Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Mon_May_25_11_09_52_2009_264)--" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4A15424D.1020507@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: stefano.stabellini@eu.citrix.com Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org ----Next_Part(Mon_May_25_11_09_52_2009_264)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, >>>>> On Thu, 21 May 2009 13:00:13 +0100 >>>>> stefano.stabellini@eu.citrix.com(Stefano Stabellini) said: > > that's due to a stupid initial configuration check done by qemu that is > actually meaningless for us (at least on x86). > > This patch should fix the problem, I kept the check in place only in > case it might be of some use for the ia64 people. Unfortunately, this patch breaks ia64. HVM domains cannot be created: Machine `xenfv' requires 4521984 bytes of memory > + ram_size = vga_ram_size; This line do not need. Signed-off-by: KUWAMURA Shin'ya -- KUWAMURA Shin'ya ----Next_Part(Mon_May_25_11_09_52_2009_264)-- Content-Type: Text/X-Patch; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="fix-ram_size-calculation-for-ia64.patch" diff --git a/vl.c b/vl.c index 3506977..7284be4 100644 --- a/vl.c +++ b/vl.c @@ -5670,7 +5670,6 @@ int main(int argc, char **argv, char **envp) phys_ram_size = (machine->ram_require + vga_ram_size) & ~RAMSIZE_FIXED; #if defined (__ia64__) - ram_size = vga_ram_size; if (ram_size > VGA_IO_START) ram_size += VGA_IO_SIZE; /* skip VGA I/O hole */ if (ram_size > MMIO_START) ----Next_Part(Mon_May_25_11_09_52_2009_264)-- Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel ----Next_Part(Mon_May_25_11_09_52_2009_264)----