From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: kvm-59 doesn't work Date: Sun, 13 Jan 2008 11:18:28 -0600 Message-ID: <478A47E4.8020109@codemonkey.ws> References: <20080113162751.GA20663@basil.nowhere.org> <478A3F87.6040509@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, Andi Kleen To: Avi Kivity Return-path: In-Reply-To: <478A3F87.6040509-atKUWr5tajBWk0Htik3J/w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Avi Kivity wrote: > Andi Kleen wrote: > >> When I try my 64bit kernel with -kernel ... on kvm-59 I get before >> the kernel outputs anything: >> >> >> > > Yes, I think -kernel is broken. > If you are using a guest with more than 3.75GB or so. The load_kernel function uses phys_ram_base + addr and that assumption is violated in KVM with guests > ~3.75GB of memory. We either need to allocate memory for the hole and never touch it or change load_kernel to use cpu_physical_memory_rw. I know we discussed this before but I don't remember if we came to a consensus about what the correct fix is? Regards, Anthony Liguori > Izik? > > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace