aboutsummaryrefslogtreecommitdiff
path: root/qemu-char.c
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2011-11-15 18:53:13 +0000
committerAlexander Graf <agraf@suse.de>2011-11-18 14:26:30 +0100
commit1e34d859d01a408dc8479b1858bb103aa3b4f9a7 (patch)
tree71a13b9ee37a71b2c4d1a2a03b772bb1c2ad00b8 /qemu-char.c
parent3feef8ad17af7307373b9e88b9d7ecb98eeb99da (diff)
pseries: Fix qdev.id handling in the VIO bus code
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. device@reg. 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 <michael@ellerman.id.au> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'qemu-char.c')
0 files changed, 0 insertions, 0 deletions