qemu/qom
Paolo Bonzini 3c75e12ea6 qom: add object_new_with_class
Similar to CPU and machine classes, "-accel" class names are mangled,
so we have to first get a class via accel_find and then instantiate it.
Provide a new function to instantiate a class without going through
object_class_get_name, and use it for CPUs and machines already.

Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2019-12-17 19:32:26 +01:00
..
container.c container: don't leak container reference 2017-05-04 15:34:41 +04:00
Makefile.objs hw/core: Move cpu.c, cpu.h from qom/ to hw/core/ 2019-08-21 13:24:01 +02:00
object_interfaces.c vl: Split off user_creatable_print_help() 2019-10-14 17:12:48 +02:00
object.c qom: add object_new_with_class 2019-12-17 19:32:26 +01:00
qom-hmp-cmds.c qom: Move HMP command handlers to qom/ 2019-07-02 13:36:49 +02:00
qom-qmp-cmds.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
qom-qobject.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
trace-events trace-events: Shorten file names in comments 2019-03-22 16:18:07 +00:00