diff options
| author | Andreas Färber | 2013-08-04 15:05:01 +0200 |
|---|---|---|
| committer | Anthony Liguori | 2013-08-05 18:46:58 +0200 |
| commit | be2f78b6b062eec5170e2612299fb8953046993f (patch) | |
| tree | 95d025e42b7dfdf9766d0c02b69d27b7919d7f35 /include/exec | |
| parent | target-ppc: Add POWER7+ CPU model (diff) | |
| download | qemu-be2f78b6b062eec5170e2612299fb8953046993f.tar.gz qemu-be2f78b6b062eec5170e2612299fb8953046993f.tar.xz qemu-be2f78b6b062eec5170e2612299fb8953046993f.zip | |
pxa2xx: Avoid object_get_link_property() assertion for "parent_bus"
pxa2xx_i2c_init() creates a pxa2xx-i2c-slave device on a second i2c-bus,
which has a NULL parent device. This causes an assertion in
object_get_canonical_path() when accessing pxa2xx-i2c-slave's
"parent_bus" link<bus> property in tosa and likely other PXA2xx machines.
Fix this by using the pxa2xx_i2c device, created just before, as parent.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Message-id: 1375621501-5564-1-git-send-email-afaerber@suse.de
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
