From: "KUWAMURA Shin'ya" Subject: Re: stdvga + videoram config option Date: Fri, 05 Jun 2009 14:29:45 +0900 (JST) Message-ID: <20090605.142945.76110509.kuwa@jp.fujitsu.com> References: <4A15424D.1020507@eu.citrix.com> <20090525.110952.139538434.kuwa@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Fri_Jun__5_14_29_45_2009_786)--" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20090525.110952.139538434.kuwa@jp.fujitsu.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: Ian.Jackson@eu.citrix.com Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org ----Next_Part(Fri_Jun__5_14_29_45_2009_786)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Ian, Could you commit this patch? Without it, guests cannot be created on ia64 because of qemu-dm's error. Signed-off-by: KUWAMURA Shin'ya On <20090525.110952.139538434.kuwa@jp.fujitsu.com>, "KUWAMURA Shin'ya" wrote: > > >>>>> 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(Fri_Jun__5_14_29_45_2009_786)-- 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(Fri_Jun__5_14_29_45_2009_786)-- 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(Fri_Jun__5_14_29_45_2009_786)----