From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46296) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VR18E-0003AJ-3Y for qemu-devel@nongnu.org; Tue, 01 Oct 2013 10:41:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VR188-0002Xz-3l for qemu-devel@nongnu.org; Tue, 01 Oct 2013 10:40:58 -0400 Message-ID: <1380638423.5280.53.camel@nilsson.home.kraxel.org> From: Gerd Hoffmann Date: Tue, 01 Oct 2013 16:40:23 +0200 In-Reply-To: <524ADAE1.2030802@ozlabs.ru> References: <1380620399-9907-1-git-send-email-kraxel@redhat.com> <1380626523.5280.27.camel@nilsson.home.kraxel.org> <1380629771.5280.40.camel@nilsson.home.kraxel.org> <524ABE1A.1090700@suse.de> <1380634912.5280.49.camel@nilsson.home.kraxel.org> <524AD24C.1020709@suse.de> <524ADAE1.2030802@ozlabs.ru> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] turn firmware image filename into a machine option List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Kardashevskiy Cc: Peter Maydell , Mark Langsdorf , QEMU Developers , Fabien Chouteau , Alexander Graf , Blue Swirl , Michael Walle , =?ISO-8859-1?Q?Herv=E9?= Poussineau , Paul Brook , Anthony Liguori , qemu-ppc , Andreas =?ISO-8859-1?Q?F=E4rber?= , Aurelien Jarno , Richard Henderson Hi, > SLOF is what is loaded from the very beginning, it configures PCI, cooks > the device tree and boots the guest system (directly or via yaboot/grub, > from disk, network or ram). Normal firmware, as usual. It knows all the > details about the machine so the guest system (linux) does not need to know > details about PCI host bus adapter or anything like this. So pretty much like seabios on x86. > RTAS is an agent which always lives in RAM when the guest system (linux, > aix) is up and running. It is a light-weight version of SLOF which is left > in RAM by SLOF and can do board/machine specific tasks such as PCI config > space access or PCI hotplug - something what SLOF already knows about and > something what the guest does not want to know about in details. This came > from IBM pHyp (traditional server PPC64 hypervisor) and it is quite a big > firmware. In the case of KVM, it is very small stub which simply passes > requests to QEMU which does the rest. But it is still a separate binary > image even in the current QEMU. How that does get loaded? Is it there at machine init? Or does SLOF load RTAS from somewhere? thanks, Gerd