[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 27/27] Add SLOF-based partition firmware for pSe
From: |
David Gibson |
Subject: |
Re: [Qemu-devel] [PATCH 27/27] Add SLOF-based partition firmware for pSeries machine, allowing more boot options |
Date: |
Mon, 28 Mar 2011 12:19:22 +1100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Fri, Mar 25, 2011 at 01:29:17PM -0500, Anthony Liguori wrote:
> On 03/24/2011 10:21 PM, David Gibson wrote:
> >Currently, the emulated pSeries machine requires the use of the
> >-kernel parameter in order to explicitly load a guest kernel. This
> >means booting from the virtual disk, cdrom or network is not possible.
> >
> >This patch addresses this limitation by inserting a within-partition
> >firmware image (derived from the "SLOF" free Open Firmware project).
> >If -kernel is not specified, qemu will now load the SLOF image, which
> >has access to the qemu boot device list through the device tree, and
> >can boot from any of the usual virtual devices.
> >
> >In order to support the new firmware, an extension to the emulated
> >machine/hypervisor is necessary. Unlike Linux, which expects
> >multi-CPU entry to be handled kexec() style, the SLOF firmware expects
> >only one CPU to be active at entry, and to use a hypervisor RTAS
> >method to enable the other CPUs one by one.
> >
> >This patch also implements this 'start-cpu' method, so that SLOF can
> >start the secondary CPUs and marshal them into the kexec() holding
> >pattern ready for entry into the guest OS. Linux should, and in the
> >future might directly use the start-cpu method to enable initially
> >disabled CPUs, but for now it does require kexec() entry.
> >
> >Signed-off-by: Benjamin Herrenschmidt<address@hidden>
> >Signed-off-by: Paul Mackerras<address@hidden>
> >Signed-off-by: David Gibson<address@hidden>
>
> We should pull in SLOF via a git submodule. That ensures we ship
> the source code along with the binary.
Um, ok. Do I need to do anything about this?
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
- [Qemu-devel] [PATCH 21/27] Implement TCE translation for sPAPR VIO, (continued)
- [Qemu-devel] [PATCH 21/27] Implement TCE translation for sPAPR VIO, David Gibson, 2011/03/24
- [Qemu-devel] [PATCH 17/27] Implement assorted pSeries hcalls and RTAS methods, David Gibson, 2011/03/24
- [Qemu-devel] [PATCH 26/27] Implement PAPR VPA functions for pSeries shared processor partitions, David Gibson, 2011/03/24
- [Qemu-devel] [PATCH 25/27] Add a PAPR TCE-bypass mechanism for the pSeries machine, David Gibson, 2011/03/24
- [Qemu-devel] [PATCH 22/27] Implement sPAPR Virtual LAN (ibmveth), David Gibson, 2011/03/24
- [Qemu-devel] [PATCH 23/27] Implement PAPR CRQ hypercalls, David Gibson, 2011/03/24
- [Qemu-devel] [PATCH 24/27] Implement PAPR virtual SCSI interface (ibmvscsi), David Gibson, 2011/03/24
- [Qemu-devel] [PATCH 18/27] Implement the PAPR (pSeries) virtualized interrupt controller (xics), David Gibson, 2011/03/24
- [Qemu-devel] [PATCH 27/27] Add SLOF-based partition firmware for pSeries machine, allowing more boot options, David Gibson, 2011/03/24
- Re: [Qemu-devel] [PATCH 27/27] Add SLOF-based partition firmware for pSeries machine, allowing more boot options, Anthony Liguori, 2011/03/25
- Re: [Qemu-devel] [PATCH 27/27] Add SLOF-based partition firmware for pSeries machine, allowing more boot options,
David Gibson <=
- Re: [Qemu-devel] [PATCH 27/27] Add SLOF-based partition firmware for pSeries machine, allowing more boot options, Alexander Graf, 2011/03/28
- Re: [Qemu-devel] [PATCH 27/27] Add SLOF-based partition firmware for pSeries machine, allowing more boot options, Avi Kivity, 2011/03/28
- Re: [Qemu-devel] [PATCH 27/27] Add SLOF-based partition firmware for pSeries machine, allowing more boot options, Alexander Graf, 2011/03/28
- Re: [Qemu-devel] [PATCH 27/27] Add SLOF-based partition firmware for pSeries machine, allowing more boot options, Avi Kivity, 2011/03/28
- Re: [Qemu-devel] [PATCH 27/27] Add SLOF-based partition firmware for pSeries machine, allowing more boot options, Alexander Graf, 2011/03/28
- Re: [Qemu-devel] [PATCH 27/27] Add SLOF-based partition firmware for pSeries machine, allowing more boot options, Anthony Liguori, 2011/03/28
- Re: [Qemu-devel] [PATCH 27/27] Add SLOF-based partition firmware for pSeries machine, allowing more boot options, Anthony Liguori, 2011/03/28
- Re: [Qemu-devel] [PATCH 27/27] Add SLOF-based partition firmware for pSeries machine, allowing more boot options, David Gibson, 2011/03/28
- Re: [Qemu-devel] [PATCH 27/27] Add SLOF-based partition firmware for pSeries machine, allowing more boot options, Blue Swirl, 2011/03/28
- Re: [Qemu-devel] [PATCH 27/27] Add SLOF-based partition firmware for pSeries machine, allowing more boot options, Anthony Liguori, 2011/03/28