On 05.10.2012, at 11:12, Benjamin Herrenschmidt <b...@au1.ibm.com> wrote:
> On Fri, 2012-10-05 at 02:43 +0200, Alexander Graf wrote: >>> We should also be able to get the raw bootindex values for a qdev, >>> yes? I was thinking we could instead copy those values into the >>> device tree when we populate it. The trouble is that we don't >>> actually generate (in qemu) nodes for individual disks under a >> vscsi, >>> or for individual PCI devices under the host bridge (that's done by >>> SLOF). Still thinking... >> >> Well. You can track it down to the device level and you know the drive >> index. Maybe you could be clever if you had a device property that >> contains the drive index and boot index to it? > > You can but it's hard... eventually we'll do it but it will take some > time. In the meantime, a patch allowing us know whether -boot was > specified at all or not would be handy to make things work as expected > in the most common cases. Sure, no objections there :). See my reply on the patch. Alex > > Avik & Nikunj are going to send one if not already... > > Cheers, > Ben. > >