qdev: give all devices a canonical path
commitda57febfed7bad11be79f047b59719c38abd0712
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 27 Mar 2012 16:38:47 +0000 (27 18:38 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 2 Apr 2012 20:04:15 +0000 (2 15:04 -0500)
tree009c51fa6e882ddae92f8d685f8cf6c04ef986ae
parentf424d5c4c9de67b56594384eac3c08dc33de9344
qdev: give all devices a canonical path

A strong limitation of QOM right now is that unconverted ports
(e.g. all...) do not give a canonical path to devices that are
part of the board.  This in turn makes it impossible to replace
PROP_PTR with a QOM link for example.

Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/qdev.c