qdev: refactor device creation to allow bus_info to be set only in class
commit18b6dade8c0799c48f5c5e124b8c407cd5e22e96
authorAnthony Liguori <aliguori@us.ibm.com>
Fri, 9 Dec 2011 18:08:01 +0000 (9 12:08 -0600)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 3 Feb 2012 16:41:05 +0000 (3 10:41 -0600)
tree542fbd189d42cba0199d4dcc8c92d48ce632a8c0
parentd253e0961965262d30843b7a0eefa687d5cbc85d
qdev: refactor device creation to allow bus_info to be set only in class

As we use class_init to set class members, DeviceInfo no longer holds this
information.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/qdev.c