From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OAThE-0001Uh-00 for qemu-devel@nongnu.org; Fri, 07 May 2010 15:58:52 -0400 Received: from [140.186.70.92] (port=38108 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OATg8-0008ER-Lt for qemu-devel@nongnu.org; Fri, 07 May 2010 15:58:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OATft-00059c-Pz for qemu-devel@nongnu.org; Fri, 07 May 2010 15:57:31 -0400 Received: from mx1.redhat.com ([209.132.183.28]:29172) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OATft-00059N-IW for qemu-devel@nongnu.org; Fri, 07 May 2010 15:57:29 -0400 Message-ID: <4BE47088.20700@redhat.com> Date: Fri, 07 May 2010 15:56:56 -0400 From: Don Dutile MIME-Version: 1.0 References: <20100507193855.7560.93069.stgit@localhost.localdomain> In-Reply-To: <20100507193855.7560.93069.stgit@localhost.localdomain> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH] smbios: avoid counting io hole as ram Reply-To: ddutile@redhat.com List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alex Williamson Cc: seabios@seabios.org, qemu-devel@nongnu.org Alex Williamson wrote: > Avoid counting the io hole as part of ram, a vm started with 4G > should report 4G in smbios, not 4.5G. > > Signed-off-by: Alex Williamson > --- Tested on rhel5 guest assigned a variety of mem sizes (3.2, 3.4, 3.5, 3.7, 3.9, 4.0, 4.1, 4.2, 17G); crossed 16G boundary due to limit of descriptor to this size to ensure that was working as well. Acked-by: Donald Dutile