From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55621) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c5D3s-00022v-E9 for qemu-devel@nongnu.org; Fri, 11 Nov 2016 09:44:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c5D3n-0007LQ-J1 for qemu-devel@nongnu.org; Fri, 11 Nov 2016 09:44:12 -0500 Received: from mail-qk0-x242.google.com ([2607:f8b0:400d:c09::242]:34093) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c5D3n-0007Kg-Bg for qemu-devel@nongnu.org; Fri, 11 Nov 2016 09:44:07 -0500 Received: by mail-qk0-x242.google.com with SMTP id 124so2081901qkh.1 for ; Fri, 11 Nov 2016 06:44:05 -0800 (PST) Date: Fri, 11 Nov 2016 09:44:03 -0500 From: Kevin O'Connor Message-ID: <20161111144403.GA15857@morn.lan> References: <20161111135717.18eaa6dc@nial.brq.redhat.com> <0404998c-3374-c2df-d960-596f71baac26@redhat.com> <20161111153619.3ef19ccb@nial.brq.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161111153619.3ef19ccb@nial.brq.redhat.com> Subject: Re: [Qemu-devel] FW_CFG_NB_CPUS vs fwcfg file 'etc/boot-cpus' List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Igor Mammedov Cc: Laszlo Ersek , qemu-devel@nongnu.org, Eduardo Habkost , mst@redhat.com, Stefan Hajnoczi , Gerd Hoffmann , "Jordan Justen (Intel address)" , Jeff Fan On Fri, Nov 11, 2016 at 03:36:19PM +0100, Igor Mammedov wrote: > On Fri, 11 Nov 2016 15:02:36 +0100 > Laszlo Ersek wrote: > > > adding Jeff Fan and Jordan Justen > > > > On 11/11/16 13:57, Igor Mammedov wrote: > > > While looking at OVMF and how it handles CPUs (ACPI/AP wakeup), > > > I've noticed that it uses legacy FW_CFG_NB_CPUS(0x05) to get > > > the number of present at start CPUs. > > > > Where exactly do you see this? > That's the only place in OVMF, but according to google there are > other firmwares that use FW_CFG_NB_CPUS so we are not free to remove > it and break guests. > > So I'd just drop not yet released 'etc/boot-cpus', > of cause SeaBIOS should be fixed and its blob in QEMU updated. I have no preference between FW_CFG_NB_CPUS and 'etc/boot-cpus'. Note that SeaBIOS v1.10 was released with the code using 'etc/boot-cpus' though. If it's to go away, we'll need a SeaBIOS stable branch release with the change. -Kevin