mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
qdev: put all devices under /machine
Avoid cluttering too much the QOM root. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
da57febfed
commit
f05f6b4adb
5 changed files with 18 additions and 5 deletions
|
@ -349,6 +349,8 @@ BusInfo *qdev_get_bus_info(DeviceState *dev);
|
|||
|
||||
Property *qdev_get_props(DeviceState *dev);
|
||||
|
||||
Object *qdev_get_machine(void);
|
||||
|
||||
/* FIXME: make this a link<> */
|
||||
void qdev_set_parent_bus(DeviceState *dev, BusState *bus);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue