From: Chris Wright Subject: Re: [PATCH] kvm-userspace: set pci mem to start at 0xc100000 and vesa to 0xc000000 Date: Fri, 16 Jan 2009 16:57:48 -0800 Message-ID: <20090117005748.GA32499@sequoia.sous-sol.org> References: <1231637150-12127-1-git-send-email-ieidus@redhat.com> <1231637150-12127-2-git-send-email-ieidus@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org To: Izik Eidus Return-path: Received: from sous-sol.org ([216.99.217.87]:50554 "EHLO sequoia.sous-sol.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755142AbZAQBxh (ORCPT ); Fri, 16 Jan 2009 20:53:37 -0500 Content-Disposition: inline In-Reply-To: <1231637150-12127-2-git-send-email-ieidus@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: * Izik Eidus (ieidus@redhat.com) wrote: > This patch make the pci mem region larger (1 giga now). > this is needed for pci devices that require large amount of memory > such as video cards. > > for pea guests this patch is not an issue beacuse the guest OS will map > the rest of the ram after 0x100000000..., > for 32bits that arent pea, it mean the maximum memory that would be > avaible now is 3giga. Seems a little heavy handed. a) Given the size...code could be cleaned up so that a simple constant change doesn't need to touch so much code. b) It is brute force. I'm not sure it really matters all that much to limit a 32-bit (non-PAE) guest to 3G, but it's a little extreme for the cases that don't care about the large hole. Is there anyway to make it dynamic based on the requirements of the devices that are part of the launched VM? thanks, -chris