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. Avik & Nikunj are going to send one if not already... Cheers, Ben.