Statistics
| Branch: | Revision:

root / hw / qdev-monitor.c @ 93148aa5

History | View | Annotate | Download (15.4 kB)

# Date Author Comment
b2d4b3f7 02/15/2012 05:39 pm Anthony Liguori

device_add: don't add a /peripheral link until init is complete

Otherwise we end up with a dangling reference which causes qdev_free() to fail.

Reported-by: Michael Tsirkin <>
Signed-off-by: Anthony Liguori <>

d822979b 02/07/2012 02:52 pm Paolo Bonzini

qdev: remove direct calls to print/parse

There's no need to call into ->parse and ->print manually. The
QOM legacy properties do that for us.

Furthermore, in some cases legacy and static properties have exactly
the same behavior, and we could drop the legacy properties right away....

ee46d8a5 02/03/2012 06:41 pm Anthony Liguori

qdev: split out UI portions into a new function

qdev-monitor.c deals with the -device, device_add, and info qdm/qtree
interfaces.

Signed-off-by: Anthony Liguori <>

57c9fafe 02/03/2012 06:41 pm Anthony Liguori

qom: move properties from qdev to object

This is mostly code movement although not entirely. This makes properties part
of the Object base class which means that we can now start using Object in a
meaningful way outside of qdev.

Signed-off-by: Anthony Liguori <>

d03d6b4e 02/03/2012 06:41 pm Anthony Liguori

info qdm: do not require a parent_bus to be set

Signed-off-by: Anthony Liguori <>

8b45d447 02/03/2012 06:41 pm Anthony Liguori

container: make a decendent of Object

Signed-off-by: Anthony Liguori <>
---
v1 -> v2
- Add license (Paolo)