[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [PATCH] pseries: Fix qdev.id handling in the VIO bus code
From: |
David Gibson |
Subject: |
Re: [Qemu-ppc] [PATCH] pseries: Fix qdev.id handling in the VIO bus code |
Date: |
Wed, 16 Nov 2011 16:25:05 +1100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Wed, Nov 16, 2011 at 03:53:13PM +1100, David Gibson wrote:
> From: Michael Ellerman <address@hidden>
>
> When the user creates a device on the command line with -device, they
> can specify the id, using id=foo. Currently the VIO bus code overwrites
> this id with it's own value. We should only set qdev.id if it is not
> already set by the user.
>
> The device tree code uses qdev.id for the device tree node name, however
> we can't rely on the user specifiying the id using proper device tree
> syntax, ie. address@hidden So separate the device tree node name from the
> qdev.id, but use the same syntax, so they will match by default.
>
> Signed-off-by: Michael Ellerman <address@hidden>
This is again a bugfix which I hope will go into 1.0.
--
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