unicorn/qemu/qom
Max Reitz 275b2ac328
qapi: Replace qobject_to_X(o) by qobject_to(X, o)
This patch was generated using the following Coccinelle script:

@@
expression Obj;
@@
(
- qobject_to_qnum(Obj)
+ qobject_to(QNum, Obj)
|
- qobject_to_qstring(Obj)
+ qobject_to(QString, Obj)
|
- qobject_to_qdict(Obj)
+ qobject_to(QDict, Obj)
|
- qobject_to_qlist(Obj)
+ qobject_to(QList, Obj)
|
- qobject_to_qbool(Obj)
+ qobject_to(QBool, Obj)
)

and a bit of manual fix-up for overly long lines and three places in
tests/check-qjson.c that Coccinelle did not find.

Backports commit 7dc847ebba953db90853d15f140c20eef74d4fb2 from qemu
2018-03-20 10:55:57 -04:00
..
container.c qom: Allow properties to be registered against classes 2018-02-21 21:00:56 -05:00
cpu.c qom/cpu: move cpu_model null check to cpu_class_by_name() 2018-03-05 02:02:29 -05:00
Makefile.objs import 2015-08-21 15:04:50 +08:00
object.c qapi: Replace qobject_to_X(o) by qobject_to(X, o) 2018-03-20 10:55:57 -04:00
qom-qobject.c qapi: Drop unused non-strict qobject input visitor 2018-03-02 12:14:52 -05:00