On 2014-Mar-4, 17:41 , Mark Cave-Ayland wrote:
- The root node rename is stylistically okay, however it's a pretty
stupid thing to do to locate the root node of the tree based upon it's name (which *isn't* given in the spec) - finddevice("/") is your friend. Perhaps the best way here is to move the OpenBIOS property to a different name so that it can be detected another way if required?
The name of the root node should be the platform name. E.g., on modern Sun machines, it contains "sun4v-platform" (since we don't want guests being able to tell one virtual machine from another). On older machines, it contained something like "SUNW,Ultra-5".