From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43223) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1t5G-0004XB-HI for qemu-devel@nongnu.org; Wed, 24 Jul 2013 03:02:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V1t5F-0002At-Bj for qemu-devel@nongnu.org; Wed, 24 Jul 2013 03:02:02 -0400 Received: from mx1.redhat.com ([209.132.183.28]:22968) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1t5F-00029z-4I for qemu-devel@nongnu.org; Wed, 24 Jul 2013 03:02:01 -0400 Message-ID: <51EF7BDF.2070503@redhat.com> Date: Wed, 24 Jul 2013 09:01:51 +0200 From: Gerd Hoffmann MIME-Version: 1.0 References: <20130724060104.GA18072@redhat.com> In-Reply-To: <20130724060104.GA18072@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] pc: limit 64 bit hole to 2G by default List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: Anthony Liguori , Eduardo Habkost , qemu-devel@nongnu.org, Isaku Yamahata , Alex Williamson , Paolo Bonzini , Laszlo Ersek , =?ISO-8859-1?Q?Andreas_F=E4rber?= , David Gibson On 07/24/13 08:01, Michael S. Tsirkin wrote: > It turns out that some 32 bit windows guests crash > if 64 bit PCI hole size is >2G. Ah, *that* is the reason for winxp crashing with a 64bit hole. Current seabios uses a slightly different approach: the 64bit hole is present only in case it is actually used to map bars there, and seabios tries to fit everything into the 32bit hole first. > Limit it to 2G for piix and q35 by default, > add properties to let management override the hole size. > > Examples: > -global i440FX-pcihost.pci_hole64_size=137438953472 Do we really want specify this in bytes? Using megabytes or gigabytes instead looks more sane to me. cheers, Gerd